Multiple Class Method Overriding

# Introduction In this lab, you will create a program that overrides the same method in multiple classes by creating an `Animal` class with a `display()` method, inheriting `Dog` and `Cat` classes from `Animal` and overriding the `display()` method in each subclass, and then calling the `display()` method using objects of both classes inside the `main()` method.

|60 : 00

Click the virtual machine below to start practicing