Which 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.

时间:2022-10-07 14:20:33 所属题库:SCJP程序员认证考试题库

相似题目