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

41 Likes

Answer

Protected

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

Answered By

10 Likes


Related Questions