Computer Applications

Explain two features of a constructor.

Java Constructors

ICSE 2010

25 Likes

Answer

  1. A constructor has the same name as that of the class.
  2. A constructor has no return type, not even void.

Answered By

15 Likes


Related Questions