Computer Applications

A member method having the same name as that of the class is called …………… .

  1. an alias
  2. a friendly method
  3. a constructor
  4. a protected method

Java Constructors

15 Likes

Answer

a constructor

Reason — A member method having the same name as that of the class is called constructor.

Answered By

8 Likes


Related Questions