Computer Science, asked by dimapan555, 7 months ago

Create three class Vehicle, TwoWheeler and
FourWheeler. Vehicle is a parent class of
TwoWheeler and FourWheeler. In Vehicle class
data member is company name, and methods are
input and display. In TwoWheelers class, data
members are name, type(gear, non gear); and
methods are input and display. In FourWheelers
data members are name, model no, fuel type; and
methods are input and display. Write a program
which will input and display information of two
wheeler and four wheeler using the concept of
method overriding

Answers

Answered by Anonymous
3

Answer:

can't understand

sorry ♥️♥️

Similar questions