Question 51
MediumHow does encapsulation make a class easier to change later?
- A.
It removes the need for testing
- B.
The internal representation can change without affecting code that uses the public methods
- C.
It makes all methods static
- D.
It allows multiple inheritance
Sign up free to see the answer and a step-by-step explanation.