Multiple ChoiceBeginner 30s
Inheritance Syntax
Choose the best answer for: inheritance
Options
- 1class Child uses Parent: declares the new base type
- 2class Child: inherit Parent assigns a base later
- 3class Child extends Parent: declares inheritance
- 4class Child(Parent): inherits from Parent
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.