Multiple choice technology web technology

5) Can you change the reference of the final object

  1. No the reference cannot be change

  2. Using object class

  3. Using interface

  4. Using thread

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

A final object reference cannot be changed to point to a different object once initialized. This is what final means for reference types. However, the object's internal state CAN be modified if it's mutable. The question asks about changing the reference itself, not the object's contents.