Class forms the basis of object-oriented programming in java.It gives the fundamental to java. For any method need to be implemented,first it must be encapsulated within a class.It can be declared by using the keyword "class".It specifies data that it contains and the code that operates on that data.A class can be defined as the collection of objects that has common properties.It forms a template for an object.
The initialization of a class consists of the list of data members used,collection of methods,constructors required,class and interfaces involved.
data and variables;
public static void main(String args)
System.out.println("Hello Tutorialslot Users");