The definition of a nested class is quite simple. According to the Java documentation: The Java programming language allows you to define a class within another class. Such a class is called a nested ...