A user-defined datatype that contains the variables, properties and methods in it which can be inherited or reused. Intension of class is re_use of code.
Classes are encapsulated code of variables and methods.. The variables can be said as a properties and the methods as a fuction... An object is created for the class and all operations are done with the help of those objects...