在使用interface关键字声明一个接口时,只可以使用的修饰符是()。

在使用interface关键字声明一个接口时,只可以使用的修饰符是()。

A.private

B.protected

C.default

D.public

正确答案:public

猜你喜欢