All challenges
Multiple ChoiceBeginner 30s

Inheritance Syntax

Choose the best answer for: inheritance
Options
  1. 1class Child uses Parent: declares the new base type
  2. 2class Child: inherit Parent assigns a base later
  3. 3class Child extends Parent: declares inheritance
  4. 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.

Play this in a 3-minute battle