You can define another class within one class, which is called a nested class (nested classes), and it has two types: static nested classes and non-static nested classes. Static nested classes use little, and most importantly, non-static nested classes, also known as inner classes (inner). Nested classes are introduced from JDK1.1. Among them, the inner class can be divided into three kinds:
One, the inner class directly defined in a class (outer class);
Second, the inner class defined in a method (the method of the outer class);
Its third, anonymous inner class.
Java nested class (Nested Classes) Summary
Http://www.cnblogs.com/aigongsi/archive/2012/04/24/2467183.html
The use of the class name.
http://blog.csdn.net/nullreference/article/details/7746822
This article is from the "bit accumulation" blog, please be sure to keep this source http://tianxingzhe.blog.51cto.com/3390077/1743188
Java nested classes and inner classes