多做题,通过考试没问题!

Java认证考试

睦霖题库>其他计算机考试>Java认证考试

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
答案解析:
进入题库查看解析

微信扫一扫手机做题