
Why Use Inner Classes?
Inner classes often make your programming task easier by eliminating the requirement to write parameterized constructors for your classes and to pass references as parameters. A method in an inner class has direct access to the instance variables of an object of the type for which it is an inner