试题详情
多项选择题Which the two demonstrate encapsulation of data?()

A、 Member data have no access modifiers.

B、 Member data can be modified directly.

C、 The access modifier for methods is protected.

D、 The access modifier to member data is private.

E、 Methods provide for access and modification of data.

  • D,E
  • 关注下方微信公众号,在线模考后查看

热门试题