Advertisements
Advertisements
प्रश्न
Which of the following is a blue print that creates objects of similar types?
विकल्प
Abstraction
Encapsulation
Class
Function
MCQ
उत्तर
Class
Explanation:
A class is a blueprint or template that specifies the structure and behaviour (properties and methods) for creating objects of a particular type. It specifies the properties (data) and methods (functions) that objects derived from the class will have.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?