问题 单项选择题

有如下类声明:classSample{intx;};则Sample类成员x是Sample类的()。

A.公有数据成员

B.保护数据成员

C.私有数据成员

D.以上选项都不正确

答案

参考答案:C

选择题
判断题