concept nest class in category java
appears as: nested classes

This is an excerpt from Manning's book Java SE 11 Programmer I Certification Guide.
A class can define multiple components. All the Java components you’ve heard of can be defined within a Java class: import and package statements, variables, constructors, methods, comments, nested classes, nested interfaces, annotations, and enums. This exam doesn’t cover the definitions of nested classes, nested interfaces, annotations, and enums.