UGC-NET | UGC NET CS 2014 Dec – III | Question 39
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 type
So, option (D) is correct.
Quiz of this Question
Last Updated :
03 Jul, 2018
Like Article
Save Article
Share your thoughts in the comments
Please Login to comment...