问题 单项选择题

在使用interface声明一个接口时,只可以使用( )修饰符修饰该接口。

A.private

B.protected

C.pnvate protected

D.public

答案

参考答案:D

单项选择题
填空题