Vehicle Information

This is a small application I created utilizing extending classes for my Java class. The program has a vehicle class and extends a car class and a motorcycle class from it. The program prints out the number of wheels and average gas mileage for both types of vehicles.

Click to view code