Which two are benefits of fully encapsulating a class?()
- A、 Performance of class methods is improved.
- B、 Implementation details of the class are hidden.
- C、 Access modifiers can be omitted on class data members.
- D、 Code that uses the encapsulation class can access data members directly.
- E、 Internal operation of the class can be modified without impacting clients of that class.
正确答案:B,E
答案解析:有

微信扫一扫手机做题