Java OCA OCP Practice Question 1996

Question

Which of these classes define immutable objects?.

Select the three correct answers.

  • (a) Character
  • (b) Byte
  • (c) Number
  • (d) Short
  • (e) Object


(a), (b), and (d)

Note

All instances of concrete wrapper classes are immutable.




PreviousNext

Related