B4Coder
0%
LessonAbout 8 min

Chapter 9 · Lesson 2 of 5

02. Overriding and polymorphism

A child class can replace a parent's method with its own. Then a list of parents can hold any child, and each does its own version.

Opening the lesson…