Multiple choice

The changes to the instance variables of one object also have an effect on the instance variables of the other object.

  1. True

  2. False

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

Instance variables belong to a specific instance (object) of a class. Each object has its own separate copy of instance variables in memory, so modifying the instance variables of one object has no effect on those of another object.