Description: Based on object-oriented programming to write a parent class of transport (Transport): (1) property, including speed, load capacity: (2) method and display properties include the constructor method. (3) defines a subclass of Transport Vehicle, Vehicle has its own new properties: the number of wheels, license plate number defined attributes of the new display method. (4) defines a subclass of Transport Airplane, Airplane has its own new properties: the engine type, number of seats defined attributes of the new display method. (5) in the test class main () method to create Vehicle and Airplane were the object, call the display properties.
File list (Check if you may need any files):
src\Transport\Airplane.java
...\.........\Test.java
...\.........\Transport.java
...\.........\Vehicle.java
...\Transport
src