Advertisements
Advertisements
Question
Which of the following is a blue print that creates objects of similar types?
Options
Abstraction
Encapsulation
Class
Function
MCQ
Solution
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
Is there an error in this question or solution?