What is Class in Java ?
In Java, Class is a user-defined datatype which represent template or blueprint from which Objects are created.
Class comprises of all the things (like: Variables, methods, constructors, blocks, class) which need to create an real-world Object.
Classes are logical structure, Whereas Objects are real-world entity created using class.
Also, Class ( i.e : java.lang.Class ) is a class in java.lang package which have methods to perform operations for Classes.
Ex. Class.forName(String className) is used to load Class At Runtime .