Skip to content
Related Articles

Related Articles

UGC-NET | UGC NET CS 2014 Dec – III | Question 39
  • Last Updated : 03 Jul, 2018

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

    Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

    My Personal Notes arrow_drop_up
  • Recommended Articles
    Page :