Can we call a constructor of parent most abstract class from a child most class? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can we call a constructor of parent most abstract class from a child most class?

28th May 2017, 6:01 PM
Pradyumna Kumar Barik
Pradyumna Kumar Barik - avatar
2 Answers
+ 1
You cannot explicitly call the constructor of an abstract class, but it's indeed implicitly called every time you instantiate a child class that inherits from the parent one.
29th May 2017, 5:07 AM
Álvaro
+ 1
thanks buddy for your kind approch..
29th May 2017, 5:46 AM
Pradyumna Kumar Barik
Pradyumna Kumar Barik - avatar