Question: 1. Create a class Vehicle. a. The class should have two fields: i. no_of_seats and no_of_wheels. b. Create two objects i. Motorcycle and Car for

1. Create a class Vehicle. a. The class should have two fields: i. no_of_seats and no_of_wheels. b. Create two objects i. Motorcycle and Car for this class. C. Your output should show the descriptions for Car and Motorcycle
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
