ICSE Class 10 Computer Applications Question 14 of 17

Encapsulation — Question 1

Back to all questions
1
Question

Question 1

A class encapsulates ............... .

  1. data
  2. methods
  3. functionality
  4. all the above
Answer

all the above

Reason — A class encapsulates characteristics, state (data) and behaviour (methods and functionality) of an entity in a single unit