Practice · 3 of 6
Diagnose 4: the shadowed constructor
CHALLENGE
Difficulty: intermediate+25 XP
Classify the error, then repair the Wallet class so a new Wallet(500) reports a balance of 500.
Press Submit to check your solution.
Back to lesson: Practice: Diagnosis gauntlet