English

A ______ consists of member data and methods.

Advertisements
Advertisements

Question

A ______ consists of member data and methods.

Fill in the Blanks
Advertisements

Solution

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
  Is there an error in this question or solution?
Chapter 3: User-Defined Methods - Exercises [Page 91]

APPEARS IN

Rupa Pandit Computer Applications [English] Class 10 ICSE
Chapter 3 User-Defined Methods
Exercises | Q 2. (x) | Page 91
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×