New course! Every coder should learn Generative AI!
Try a free lesson0
How to use parent class constructor ?
Please give an example
2 Answers
+ 1
super() refferences to parent class contructer, with matching the arguments list...
0
super() has to be first line in child's constructor