Boxing is ___

35. Boxing is ___.

  1. Creating new box
  2. Creating object
  3. Converting primitive type of object instance
  4. All of these

Answer: C) Converting primitive type of object instance

Explanation:

In Java programming language, the wrapper classes are those whose objects wraps a primitive data type within them. The wrapper class is used for converting primitive datatype to object is called boxing.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.