What’s the order of call of constructors in inheritance?

By drakula david in 22 Sep 2023 | 12:43 pm
drakula david

drakula david

Student
Posts: 128
Member since: 22 Sep 2023

What’s the order of call of constructors in inheritance?

22 Sep 2023 | 12:43 pm
0 Likes
divas goyal

divas goyal

Student
Posts: 453
Member since: 22 Sep 2023

In inheritance, the constructors of the superclass are called before the constructors of the subclass. The order depends on the constructor chaining.


23 Sep 2023 | 04:02 pm
0 Likes

Report

Please describe about the report short and clearly.