what is difference between class and object
Answers
Answered by
1
Answer:
Class:-
1.class is a blueprint or template from which objects are created.
2.class is a group of similar objects.
3.class is a logical entity.
objects:-
1.object is an instance of a class.
2.object is a real world entity such as pen,chair, table, laptop,etc.
3.object is a physical entity.
Similar questions