Practice · 5 of 5
Debug the constructor chain
CHALLENGE
Difficulty: beginner+25 XP
BigBox does not compile: its constructor omits super(...) while Box has no no-arg constructor, and factor is never stored. Fix the constructor chain (signatures stay the same).
Press Submit to check your solution.
Back to lesson: Practice: Inheritance reps