Computer Applications

Which of the following keywords are used to control access to a class member?

  1. Default
  2. Abstraction
  3. Protected
  4. Interface

Java Classes

38 Likes

Answer

Protected

Reason — The access specifier 'protected' is used to control access to a class member.

Answered By

8 Likes


Related Questions