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

1 Expert Approved Answer
Step: 1 Unlock

The answer to this question is C Encapsulation causes two classes to be more tightly tied together T... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Oracle Questions!