a class that is defined inside another class
a class that is lexically nested in another class
a class which is defined inside another class
a class whose definition appears inside the definition of another class, as if it were a member of the other class