Challenge 1: Override a Method in the Derived Class
Can you override a method in a derived class? A solution is placed in the solution section to help you, but we suggest you try to solve it on your own first.
We'll cover the following...
We'll cover the following...
Problem Statement
When a method in a derived class overrides a virtual
method in a base class, it is still possible to call the overridden method using the base
keyword.
If you write
base.Method()
, it will call the method ...