105k views
5 votes
What is the return type of the constructor for a class?

User Roychri
by
7.6k points

1 Answer

5 votes
Trick question. A constructor does not have a return type!
User FranSanchis
by
8.2k points