Set the correct order of execution of the following constructors and init blocks for both a base and a derived class initiation:
Inheritance and constructors
Base and derived class execution order
Report a typo
Put the items in the correct order
Base class primary constructor
Derived class primary constructor
Base class init blocks
Derived class init blocks
Derived class secondary constructor block
Base class secondary constructor block
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.