Practice · 2 of 5
Manager pay
CHALLENGE
Difficulty: beginner+25 XP
Complete Manager extends Employee: constructor chains up with super(name, base) and stores bonus; pay() overrides to base + bonus, reading the base through the inherited accessor getBase().
Press Submit to check your solution.
Back to lesson: Practice: Inheritance reps