Practice · 5 of 5
Field shadowing across the hierarchy
CHALLENGE
Difficulty: intermediate+25 XP
Derived declares its own v, shadowing Base's. Complete baseV() so it returns BASE's v using the lesson's mechanism.
Press Submit to check your solution.
Back to lesson: Practice: Inheritance lab