Given these requirements: * Bus and Boat are Vehicle type classes. * The start() and stop() methods perform
Given these requirements:* Bus and Boat are Vehicle type classes.* The start() and stop() methods perform common operations across the Vehicle class type.* The ride() method performs a unique operations for each type of Vehicle.Which set of actions meets the requirements with optimized code? A. 1. Create an abstract class Vehicle by defining start() and stop() methods, and… Read More »