Computer Science, asked by neelpraj123, 7 months ago

how is a class and an object related to each other​

Answers

Answered by ammukavitha620
3

Answer:

an object is an element (or instance) of a class; objects have the behaviors of their class. The object is the actual component of programs, while the class specifies how instances are created and how they behave. method: a method is an action which an object is able to perform.

Answered by harsh8116
3

Answer: an object is an element (or instance) of a class; objects have the behaviors of their class. The object is the actual component of programs, while the class specifies how instances are created and how they behave.

Explanation:

Similar questions