Java class keyword
A Java class keyword is the most common keyword which is used to declare a new Java class. A class is a container that contains the block of code that includes field, method, constructor, etc.
A class is a template or blueprint from which objects are created. It is a logical entity. It can't be physical.
Points to remember
Let's see a simple example of a class keyword.
In this example, we declare two classes.
101 John William 25000
Let's see an example to declare the private class.
private class is invoked