How do you change the value that is encapsulated by a wrapper class after you have instantiated it?

  1. Use the setXXX() method defined for the wrapper class.

  2. Use the parseXXX() method defined for the wrapper class.

  3. Use the equals() method defined for the wrapper class.

  4. The value encapsulated by a wrapper class is immutable.


Correct Option: D

Find more quizzes: