I know its not code...but i put it as such so that it is more readable
Answer: e. None of the Above
If a class A has a method that returns a reference to an internal, mutable object; then external code can use the reference to modify the internal state of class A. Therefore, class A can not be considered tightly encapsulated. However, the methods of a tightly encapsulated class may return a reference to an immutable object or a reference to a copy or clone of an internal object.
I didnt quite understand the explanation.Can someone tell me what is the difference between a reference to an internal data member and a reference to a clone of an internal object. Is
clone the key
word here?