Multiple Choice Question

Quiz Guidelines



Which of the following are correct about "encapsulation"?

Select 2 options

A. Encapsulation is same as polymorphism.
B. It helps make sure that clients have no accidental dependence on the choice of representation
C. It helps avoiding name clashes as internal variables are not visible outside.
D. Encapsulation makes sure that messages are sent to the right object at run time.
E. Encapsulation helps you inherit the properties of another class.

Q&A Set: