Class:
In object-oriented programming technique, we design a program using objects and classes. A class is the blueprint in which a template can be formed, in real word scenario assume we need to store an employee record. Here Employee becomes the class.
Example:
public class Employee { String name; int age; long ph: String email; }
Save this file as Employee.java.