I don't understand this class within a class. also I feel like even when I replicate their code with minor changes it fails.
Its a special fuction that lets you override the super class function,
that the child class inherits.
It is in polymorph part of the cpp course.
You should complete the course to get the info for reference.
Here are some links on polymorhisim and virtual functions: