Question: Which statement about encapsulation is not true? A. Encapsulation allows putting extra logic in the getter and setter methods. B. Encapsulation can use immutable instance
Which statement about encapsulation is not true?
A. Encapsulation allows putting extra logic in the getter and setter methods.
B. Encapsulation can use immutable instance variables in the implementation.
C. Encapsulation causes two classes to be more tightly tied together.
D. Encapsulation makes it easier to change the instance variables in the future.
E. All of the above are true.
Step by Step Solution
There are 3 Steps involved in it
The answer to this question is C Encapsulation causes two classes to be more tightly tied together T... View full answer
Get step-by-step solutions from verified subject matter experts
