Advertisements
Advertisements
Question
When a primitive data type is converted to the corresponding object of its class, it is called as ______
Options
Boxing
Explicit type conversion
Unboxing
Implicit type conversion
MCQ
Fill in the Blanks
Solution
When a primitive data type is converted to the corresponding object of its class, it is called Boxing.
Explanation:
Boxing is the process of converting a primitive data type to its class corresponding object.
shaalaa.com
Classes as an Object Factory
Is there an error in this question or solution?