Advertisements
Advertisements
प्रश्न
Each primitive data type belongs to a specific ______.
विकल्प
Block
Object
Wrapper class
None
MCQ
रिक्त स्थान भरें
उत्तर
Each primitive data type belongs to a specific wrapper class.
Explanation:
In Java, each primitive data type (for example, int, char, double) has a matching wrapper class that exposes primitive-type object methods. For example:
- int is wrapped by Integer
- char is wrapped by Character
- double is wrapped by Double
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?