Question: A child class Motorcycle extends a parent class Vehicle. Each class constructor requires one String argument. The Motorcycle class constructor can call the Vehicle class
A child class Motorcycle extends a parent class Vehicle. Each class constructor requires one String argument. The Motorcycle class constructor can call the
Vehicle class constructor with the statement ____________.
a. Vehicle("Honda");
b. Motorcycle("Harley");
c. super("Suzuki");
d. None of the above
Step by Step Solution
3.46 Rating (162 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
