Class is very important building block in all the Object Oriented Programming Languages. Class is a logical entity which indicates the data and behaviour. Class consists of data members and functions. Class is created by using class keyword followed by class name. Class name is an identifier to addres a class.
Object is a variable of class type. Instantiation of class is caleed as Object. Memory is allcatoin is perfomed when a object of a class is created. Object of a class contains all the data members and functions of the class.
Creation of Object for a Class: Object can be created by using new keyword. Using new keyword to create object is very common and general method of object creation. Beside of this there some more methods of object creations are present. Those are