Computer Applications
Explain two features of a constructor.
Java Constructors
ICSE 2010
27 Likes
Answer
- A constructor has the same name as that of the class.
- A constructor has no return type, not even void.
Answered By
16 Likes
Explain two features of a constructor.
27 Likes
Answered By
16 Likes