मराठी

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?

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
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 6: Encapsulation - Exercises [पृष्ठ १४८]

APPEARS IN

रूपा पंडित Computer Applications [English] Class 10 ICSE
पाठ 6 Encapsulation
Exercises | Q 1. (xi) | पृष्ठ १४८
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×