Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
Why constructor have note return type in java.
2 Respostas
0
Because the constructor return a pointer on the object. That's with that pointer you can call class' methods and attributes.
0
The constructor have already a return type