Multiple choice

What are Wrapper classes?

  1. Classes that wraps functionality of an existing class.

  2. Classes that allow primitive types to be accessed as objects

  3. Both of the above.

  4. None of the above.

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Wrapper classes (like Integer, Double, Boolean) provide a way to use primitive data types as objects.