84.9k views
2 votes
What is the key difference between a class and an object

1 Answer

11 votes

Answer:

Class is a blueprint or template from which objects are created. Object is a real world entity such as pen, laptop, mobile, bed, keyboard, mouse, chair etc. Class is a group of similar objects. Object is a physical entity.

User Sneeky
by
8.1k points