Practice · 4 of 5
Fix the missing super
CHALLENGE
Difficulty: intermediate+25 XP
Discounted does not compile: the implicit super() needs a no-arg Item constructor, which does not exist. Apply rule 2's fix with the exact one line.
Press Submit to check your solution.
Back to lesson: Practice: Inheritance lab