开发者

Inner interface classes?

Are class that are declared inside and interface automatically declared static? I am aware that variables are automatically declared static 开发者_JS百科final. I'm just unsure as to interfaces.


If a Class is declared inside an Interface then it is static.


According to the JLS:

A member type declaration in an interface is implicitly static and public

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜