Converting a primitive type data into its corresponding wrapper class object instance is called
(A) Boxing
(B) Wrapping
(C) Instantiation
(D) Autoboxing
Answer: (D)
Explanation:
Converting a primitive type data into its corresponding wrapper class object instance is called Autoboxing.Instantiation is creation or a real instance or a particular realization of an abstraction or template.Wrapping encapsulates and hides the underlying complexity of another entity.Boxing is the process of converting a value type to the type object or to any interface type implemented by this value typeSo, option (D) is correct.
Quiz of this Question