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