OOP's Class
Class is a template to create objects. The class consists of attributes and operations. Class Declation class className{ } Object Creation className objectName = new className(); ex: rectangle smallarea = new rectangle (); Operation / Method No return - void void area(){ ....... } return - int / string etc. int area(){ ....... return 0; }