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

热门试题