Commit 866d4940 authored by trh010's avatar trh010
Browse files

added adjacencylist class

parent e8503694
package main;
public class AdjacencyList {
}
package main;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.Scanner;
public class Main {
public static void main(String[] args){
//reads args[0] for input file path
File file = new File(args[0]);
try {
Scanner in = new Scanner(file);
} catch (FileNotFoundException e) {
System.err.println("Error in opening the file: " + args[0] + ". Please check the file path.");
}
}
}
package test;
public class Test {
public static void main(String[] args){
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment