Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Wiki Markup
A nested class is any class whose declaration occurs within the body of another class or interface \[[JLS 052005|AA. Java References#JLS 05]\]. Nested classes are a broad set of classes that are classified as {{static}} member and inner classes. "An inner class is a nested class that is not explicitly or implicitly declared {{static}}." \[[JLS 052005|AA. Java References#JLS 05]\]. An inner class may be local, anonymous or non-static.

...

Wiki Markup
Also, according to the Java Language Specification \[[JLS 052005|AA. Java References#JLS 05]\], section 8.3 "Field Declarations":

...

References

Wiki Markup
\[[JLS 052005|AA. Java References#JLS 05]\] [Section 8.1.3, Inner Classes and Enclosing Instances|http://java.sun.com/docs/books/jls/third_edition/html/classes.html#8.1.3] and 8.3 "Field Declarations"
\[[McGraw 002000|AA. Java References#McGraw 00]\]
\[[Long 052005|AA. Java References#Long 05]\] Section 2.3, Inner Classes
\[[MITRE 092009|AA. Java References#MITRE 09]\] [CWE ID 492|http://cwe.mitre.org/data/definitions/492.html] "Use of Inner Class Containing Sensitive Data"

...