An inner class or nested class is a class declared entirely within the body of another class or interface. It is distinguished from a subclass.
An inner class or nested class is a class declared entirely within the body of another class or interface. It is distinguished from a subclass.