首页 › 答案 › 题库 › 其它知识竞赛

类的成员变量设为()时,其他类不能直接访问该类的成员变量。

类的成员变量设为()时,其他类不能直接访问该类的成员变量。
A.private
B.native
C.public
D.protected
正确答案:A
标签:变量 成员