Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

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

    My Personal Notes arrow_drop_up
  • Recommended Articles
    Page :

    Start Your Coding Journey Now!