Class and Objects are interrelated. Explain.
Advertisements
प्रश्न
Class and Objects are interrelated. Explain.
Class and Object are interrelated. Justify with reference to object oriented programming.
संक्षेप में उत्तर
Advertisements
उत्तर
- 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
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
