Class is a template(type) or blue print its state how
objects should be and behave.
Object is defined as a software construct which binds data
and logic or methods(functions)together.
Class is a collection of data members and methods. Object is an instance of a class.
class is only declaration.While object is actual creation of memory space for that declaration.
ex:Employee is a class and ram is aobject of this class.