Advertisements
Advertisements
प्रश्न
Given:
Integer gw = new Integer (27);
The name of the object is
पर्याय
27
gw
GW
Gw
MCQ
Advertisements
उत्तर
gw
Explanation:
In Java, the name of the object is the variable identifier used to reference it. Java is strictly case-sensitive, meaning the name must match the exact lowercase declaration gw. The value it stores is 27, while GW and Gw are incorrect variations due to capitalization.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 5: Library Classes - Exercises [पृष्ठ १३४]
