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
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
