当前位置: 技术问答>java相关
scjp 真题一个??,?,
来源: 互联网 发布时间:2015-03-13
本文导语: which two demonstrate encapsulation of data?( choose two) a. Member data has no access modifiers . b. Member data can be modified directly. c. The access modifier for metoods is protected. d. The access modifier to member data is private. e. ...
which two demonstrate encapsulation of data?(
choose two)
a. Member data has no access modifiers .
b. Member data can be modified directly.
c. The access modifier for metoods is protected.
d. The access modifier to member data is private.
e. Methods provide for access and modification of data.
我认为选a e ,大家怎么看??
choose two)
a. Member data has no access modifiers .
b. Member data can be modified directly.
c. The access modifier for metoods is protected.
d. The access modifier to member data is private.
e. Methods provide for access and modification of data.
我认为选a e ,大家怎么看??
|
i choose d and e
|
d,e
|
d,e.没错