0
Do Constructors have a return value ??
2 Respostas
+ 4
When you create an object It's the "new" keyword that returns a refrenece to that object
+ 1
No they do not.
Constructors do not return anything.
You might sometimes be confused with methods since they have a return type and they can have the same name as the class name and also the constructor is declared using the class name.