Advertisements
Advertisements
Questions
Class and Objects are interrelated. Explain.
Class and Object are interrelated. Justify with reference to object oriented programming.
Answer in Brief
Solution
- A class is used to construct a variety of objects with distinct properties and shared behaviours.
- Each object adheres to all of the features defined in the class.
- That is why a class is sometimes known as a blueprint or an object prototype.
- This way, we can say they are interconnected.
shaalaa.com
Is there an error in this question or solution?