class vs object

Class is a type of template from which objects can be created. Classes are static and they give a blueprint to create the object. Classes have state and behavior. For example you take the example of human. Human have eyes, hands which are state of the class human and walking and talking are the behavior or action of that class. You can take another example of [...]