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

Java认证考试

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

Which two are true?()

  • A、 An encapsulated, public class promotes re-use.
  • B、 Classes that share the same interface are always tightly encapsulated.
  • C、 An encapsulated class allows subclasses to overload methods, but does NOT allow overriding methods.
  • D、 An encapsulated class allows a programmer to change an implementation without affecting outside code.
正确答案:A,D
答案解析:
进入题库查看解析

微信扫一扫手机做题