+ 2
How do constructors work
3 Respostas
0
Constructors are the method which are invoked as soon as the object is created for any class
+ 2
Hi,
Constructor was calling when u create a object with type your class.
I hope this help.
0
Are invoked when an object is created and used to initialize them