Java class is a user-defined template or blueprint where objects, data members and methods are defined and a set of instructions to build a specific type of object . The variables and methods of the same Java class are common for all the objects of the class. In Java, the class keyword is used to define a Java class.6 Kas 2019