Computer Applications

A class encapsulates …………… .

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

Encapsulation & Inheritance in Java

32 Likes

Answer

all the above

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

Answered By

16 Likes


Related Questions