Nested classes are divided into two categories: static and non-static. Nested classes that are declared static are simply called static nested classes. Non-static nested classes are called inner classes or member classes.
1) Member classes/Regular inner classes
2) Method local Inner classes
3) Anonymous Inner classes
4) Static Inner classes.
And, What do you mean by members of a class? It's methods, instance variables? Like that, if a class defined within directly below a Top level class, it(the inner class) is a member of the outer class. So, it's also called as member classes.
|BSc in Electronic Eng| |SCJP 6.0 91%| |SCWCD 5 92%|
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop