Class. A class is a user defined blueprint or prototype from which objects are created . It represents the set of properties or methods that are common to all objects of one type.
Read moreHow do you create a class in Java program?
To create an object of Main , specify the class name, followed by the object name, and use the keyword new :
Read more