public void read(String filename) throws FileNotFoundException{
FileReader reader = new FileReader(filename);
...
}
public void read(String filename)
throws IOException, ClassNotFoundException
public static void main(String[] args)
throws IOException, ClassNotFoundException