हिंदी

Each primitive data type belongs to a specific ______. - Computer Applications

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:

  1. int is wrapped by Integer
  2. char is wrapped by Character
  3. double is wrapped by Double 
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 2: Library Classes - EXERCISES [पृष्ठ १७७]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 2 Library Classes
EXERCISES | Q I. 2. | पृष्ठ १७७
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×