Which three statements are benefits of encapsulation?
A.
Enables the class implementation to protect its invariants
B.
Enables multiple instances of the same class to be created safely
C.
Permits classes to be combined into the same package
D.
Prevents code from causing exceptions
E.
Allows a class implementation to change without changing t he clients
F.
Protects confidential data from leaking out of the objects
Explanation:
AEF