Wrapper class in java is ___

34. Wrapper class in java is ___.

  1. Used to encapsulate primitive data types
  2. Declare new classes called wrapper
  3. Create a new instance of the class
  4. None of these

Answer: A) Used to encapsulate primitive data types

Explanation:

A Wrapper class is a class whose object wraps or contains primitive data types.

Comments and Discussions!

Load comments ↻






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