Computer Applications

It can have the same access specifiers used for variables and methods.

  1. Method
  2. Class
  3. Constructor
  4. Object

Encapsulation & Inheritance in Java

1 Like

Answer

Constructor

Reason — A constructor can have the same access specifiers used for variables and methods.

Answered By

1 Like


Related Questions