package class3_2_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("Chitty-Chitty Bang-Bang"); Boat boat = new Boat("Boaty McBoatFace"); List vehicles = new LinkedList<>(); vehicles.add(car); vehicles.add(boat); for(int indStep = 0; indStep vehicles) { for(Vehicle vehicle: vehicles) { System.out.println(vehicle); } } }