package class3_1_InheritanceVehicles_start;// Dr. Yoder. MSOE. 08 December 2016 import java.util.LinkedList; import java.util.List; /** * VehicleDriver: Pun not intended, but welcomed. */ public class VehicleDriver { private static final int NUM_STEPS = 5; public static void main(String[] args) { Car car = new Car(); Boat boat = new Boat(); List vehicles = new LinkedList<>(); vehicles.add(car); vehicles.add(boat); for(int indStep = 0; indStep vehicles) { for(Vehicle vehicle: vehicles) { System.out.println(vehicle); } } }