Q. Choose a correct statement about Autoboxing in Java?
-
(A)
Unboxing is the process of converting a Wrapper class object to its equivalent primitive data type
-
(B)
Autoboxing is the process of converting Primitive data type to Wrapper Object type automatically. Auto-Unboxing is the process of converting Wrapper type object to Primitive type automatically.
-
(C)
Boxing is the process of converting a primitive data to its equivalent Wrapper class type
-
(D)
All the above
β
Correct Answer: (D)
All the above