Computer Applications

Which of the following is an access specifier?

  1. public
  2. protected
  3. private
  4. All of these

Encapsulation & Inheritance in Java

3 Likes

Answer

All of these

Reason — Public, private and protected are access specifiers.

Answered By

2 Likes


Related Questions