Home »
MCQs »
Java MCQs
Boxing is ___
35. Boxing is ___.
- Creating new box
- Creating object
- Converting primitive type of object instance
- All of these
Answer: C) Converting primitive type of object instance
Explanation:
In Java programming language, the wrapper classes are those whose objects wraps a primitive data type within them. The wrapper class is used for converting primitive datatype to object is called boxing.