Skip to main content

Practice · 3 of 5

Extend with super.method

CHALLENGE
Difficulty: beginner+25 XP

Complete Truck.describe() to return the superclass's word followed by " with 6 wheels" — building on super.describe(), not duplicating the word.

Back to lesson: Practice: Inheritance reps