Computer Applications

In constructor overloading, all constructors should have the the same name as of the class but with a different set of …………… .

  1. Access specifiers
  2. Classes
  3. Return type
  4. Parameters

Java Constructors

2 Likes

Answer

Parameters

Reason — In constructor overloading, all constructors must have the same name as the class but differ in their parameter list (number, type, or order of parameters).

Answered By

1 Like


Related Questions