We will use class Class to get name of class at runtime. Class class has method getName , which returns the name of the entity (class, interface, array class, primitive type, or void).
We will use class Class to get name of class at runtime. Class class has method getName , which returns the name of the entity (class, interface, array class, primitive type, or void).