Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 1
    "...says that it is a static member of Outer Class which means....": It is not incorrect to think of a static nested class as a "member class" of Outer Class, but the similarities with static fields and methods end there. A static nested class does not "belong" to Outer Class. In almost every way that matters, a static nested class is a free standing top level class whose class definition has been nested inside that of Outer Class for packaging convenience (and, hopefully, because there is a logical association between the nested class and Outer Class ... although there needn't be one). Commented Oct 18, 2013 at 0:03
  • 1
    'static inner' is a contradiction in terms. Static classes do exist, at the first nesting level, and they are not inner classes, by definition. Very confused. Commented Nov 28, 2014 at 3:50