A class is a group of objects with common properties. It can be also defined as a template or blueprint that describes the behavior or the state that the object of its type supports.
This is the syntax to declare a class.
class <class_name>{
field;
method;
}