Computer Applications
Explain two features of a constructor.
Java Constructors
ICSE 2010
26 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.
26 Likes
Answered By
16 Likes