/** Handles danger removal */ public static void runD() { list.removeDangerousCars(); System.out.println("Dangerous cars successfully removed from the train.\n"); }