ICSE Class 10 Computer Applications
Question 18 of 30
Solved 2024 Specimen Paper ICSE Class 10 Computer Applications — Question 18
Back to all questions 18
Question Read the following text, and choose the correct answer:
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
Data members and Member methods
Reason — A class encapsulates state and behavior by combining data and functions into a single unit. The state of an object is represented by its member variables and behaviour is represented by member methods.