What is Order of invocation in inheritance | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 4

What is Order of invocation in inheritance

Inheritance

20th May 2022, 3:13 PM
😇🌟SWATI🌟😇
😇🌟SWATI🌟😇 - avatar
2 ответов
+ 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 🇮🇳