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