/** Handles train car insertion */ public static void runI() { System.out.println("Enter car length in meters: "); double l = input.nextDouble(); System.out.println("Enter car weight in tons: "); double w = input.nextDouble(); list.insert(new TrainCar(l, w, new ProductLoad())); System.out.println("New train car " + l + "meters and " + w + "tons inserted into train."); }