Write a program that takes two stations as input from the user and calculates a route between the two stations. Your program must read the transport information from data.txt and initialize each line. In your program you could think about presenting a line as an object of class Line which has the methods listed below, and TransitSystem which keeps track of the Lines and uses them to find the route. To simplify, assume trains only run in one direction and you can only transfer once.

Respuesta :

Answer:

code: import java.io.*; import java.util.*; // Driver Class public class Driver { public static void main(String... args) throws Exception { Scanner in = new Scanner(System.in); // to

Explanation:

RELAXING NOICE
Relax