Question: heres what i have so far: Given two subclasses Bicycle and Automobile which are implemented as shown below, design a public Vehicle super class which

heres what i have so far:

Given two subclasses Bicycle and Automobile which are implemented as shown below, design a public Vehicle super class which the subclasses will extend. Declare an abstract void method named "move)" which takes no parameters in the Vehicle class. Then declare the Turnable interface which the subclasses implement, the interface includes an abstract void method named "turn() which takes no parameters. The Turnable interface can be declared. iust don't declare it as public. .Do not modify the main method provided Do not modify the Bicycle class or the Automobile class provided Expected Output: Bicycle: use the handlebars. Bicycle: pedal Automobile: use the steering wheel Automobile: step on the accelerator
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
