有点问题

不能用来修饰interface的有( )

A. private
B. public
C. protected
D. static

参考答案

A, C, D

注意:interface只能由public 和abstract 来修饰

如果作为内部类,interface 可以用private, public, protected, static 等来修饰


results matching ""

    No results matching ""