Computer Science, asked by antrashukla26, 8 months ago

explain in detail how a class is different from an object

Answers

Answered by DangEROusKuri
4

Answer:

hy your answer

Explanation:

Classes and objects from the essential part of Object-oriented programming, where a class can be considered as a construct that encapsulates a group of variables and methods; whereas, an object acts as member or instance of that class. A class is a blueprint from which you can create the instance, i.e., objects

mark it on brilliant

Answered by anjalichaurasiya108
2

Answer:

a class may be regarded as a template or blueprint to create objects and is a group of similar objects.

an object is something that can be perceived. It can be living entities such as cat, dog etc. or living entities like pen, book etc.

Similar questions