Question : Which three statements are benefits of encapsulation? A. Allows a class implementation to change without changing t he 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 1. A,B,C 2. B,C,D 3. Access Mostly Uused Products by 50000+ Subscribers 4. D,E,F
1. It can take arguments. 2. It has private access modifier in its declaration. 3. Access Mostly Uused Products by 50000+ Subscribers 4. The default constructor of a subclass always invokes the no-argument constructor of its superclass.