Multiple choice

Which is true regarding the following options?

i. If the value of the object is changed, then we call it an immutable object ii. If the value of the object is not changed, then we call it an immutable object iii. If the object cannot be instantiated, then we call it an immutable object iii. If the object can be instantiated, then we call it an immutable object

  1. i. is true

  2. ii. is true

  3. iii. is true

  4. iv. is true

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

This answer is correct. if the value of the object is not changed, then the object is called an immutable object else it is called a mutable object.