Accessing the Base Class' Method

# Introduction In this lab, you will need to create a `Dog` class that inherits from the `Animal` class, and then create an object of the `Dog` class and call the `eat()` method using this object to print the message `'I can eat food'`.

|60 : 00

Click the virtual machine below to start practicing