New course! Every coder should learn Generative AI!
Try a free lesson0
Is use of constructor is only initializing variables or it have other uses?
What are use of constructor? I understand it only intilize variables.
2 Answers
0
It is main use but other uses are possible.