Scanner s = new Scanner("flights.txt");
String origToFind = s.nextLine( );
for(int i = 0; i <= f.length && f[i] != null; j++)
if (f.getOrig( ) == origToFind)
System.out.println(f.arrive);
Ans:
InputStreamReader PipedReader StringReader
printList(n - 1); System.out.println(n);
x=7, y=1 is the end point.
The search order is left, right, up, down.
Stop when you reach the end point.
The search order is left, right, up, down.
Stop when the entire region is filled.