What is Order of invocation in inheritance | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

What is Order of invocation in inheritance

Inheritance

20th May 2022, 3:13 PM
😇🌟SWATI🌟😇
😇🌟SWATI🌟😇 - avatar
2 Answers
+ 4
Prince Kumar what is order of invocation in inheritance
20th May 2022, 3:41 PM
😇🌟SWATI🌟😇
😇🌟SWATI🌟😇 - avatar
+ 3
Do you mean constructor invocations in object creation? First corresponding super class constructor is invoked then subclass constructor is invoked for sub class object creation.
20th May 2022, 4:12 PM
Jayakrishna 🇮🇳