Using super to Call Base Class Method

# Introduction In this lab, we will create a base class named `Animal` with a method `eat()`, then inherit a class `Dog` from `Animal` with methods `bark()` and `eat()` that calls the `eat()` method of the `Animal` class using `super()`. We will also create an object of the `Dog` class and call the `eat()` method using the object.

|60 : 00

Click the virtual machine below to start practicing