试题详情
多项选择题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
  • 关注下方微信公众号,在线模考后查看

热门试题