Overriding Parent Class Method

# Introduction In this lab, you need to create a program to override the displayInfo() method of the parent class Vehicle in the derived class Car, and the main() method should create an object of Car and call the displayInfo() method.

|60 : 00

Click the virtual machine below to start practicing