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
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?