हिंदी

A ______ consists of member data and methods.

Advertisements
Advertisements

प्रश्न

A ______ consists of member data and methods.

रिक्त स्थान भरें
Advertisements

उत्तर

A class consists of member data and methods.

Explanation:

A class acts as a blueprint or template in object-oriented programming. It encapsulates both member data (variables that store the state or properties) and methods (functions that define the behavior or actions) into a single logical unit.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 3: User-Defined Methods - Exercises [पृष्ठ ९१]

APPEARS IN

रुपा पंडित Computer Applications [English] Class 10 ICSE
अध्याय 3 User-Defined Methods
Exercises | Q 2. (x) | पृष्ठ ९१
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×