Some times we can declare a class inside another class such type of classes are called inner classes. Inner classes concept introduced in 1.1 version. to fix GUI bugs as a part of event handling but ...
This Java project demonstrates the use of inner classes and static inner classes. It shows how inner classes can access outer class members and the special behavior of static inner classes.