Advertisements
Advertisements
प्रश्न
A class encapsulate Data Members that contains the information necessary to represent the class and Member methods that perform operations on the data member.
What does a class encapsulate?
विकल्प
Information and operation
Data members and Member methods
Data members and information
Member methods and operation
MCQ
Advertisements
उत्तर
Data members and Member methods
Explanation:
A class encapsulates data members that store information and member methods that perform operations on that data. These together form a single unit called a class.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
