Computer Applications

How are classes and objects related to one another?

Objects & Classes

7 Likes

Answer

A class is used to create various objects that have different characteristics and common behaviour. Each object follows all the features defined within a class. That is why class is also referred to as a blue print or prototype of an object and an object is referred to as an instance of a class. This way, we can say that they are inter-related.

Answered By

4 Likes


Related Questions