Q5. What is the difference between an object and a class?
Ans. An object is an identifiable entity with some characteristics and behavior. It represents an entity that can store data and its associated functions.
A class is a group of objects that share common properties and relationships. It represents a group of similar objects.