What is the difference between object and class? Explain with examples.
Answers
Answered by
2
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.
Answered by
0
Explanation:
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.
(copied from Googl*)..
Similar questions