Advertisements
Advertisements
प्रश्न
Class and Objects are interrelated. Explain.
Class and Object are interrelated. Justify with reference to object oriented programming.
थोडक्यात उत्तर
उत्तर
- 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
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?