Read the following text, and choose the correct answer:

ICSE Class 10 Computer Applications PYQ · 2024 Specimen · Section A

1(xviii)1 Mark · 2024 · Section A · 2024 Specimen

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?

Show SolutionHide Solution↓

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.

← Previous questionNext question →

Browse the free Computer Applications sample bank