English

Automatic conversion of primitive data into an object of wrapper class is called ______. - Computer Applications

Advertisements
Advertisements

Question

Automatic conversion of primitive data into an object of wrapper class is called ______.

Options

  • Autoboxing

  • Explicit conversion

  • Shifting

  • None

MCQ
Fill in the Blanks

Solution

Automatic conversion of primitive data into an object of wrapper class is called autoboxing.

Explanation:

Autoboxing automatically converts a primitive data type into its equivalent wrapper class in Java. In this case, it refers to the automatic conversion of a primitive int to an Integer object. 

shaalaa.com
  Is there an error in this question or solution?
Chapter 2: Library Classes - EXERCISES [Page 177]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 2 Library Classes
EXERCISES | Q I. 3. | Page 177
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×