问题 单项选择题

以下关键字不能用来声明类的访问权限的是

A.public

B.static

C.protected

D.private

答案

参考答案:B

解析: 类的访问权限有public、prirate、protected 3种方式。

单项选择题
单项选择题