How in the shortest amount of lines can you load a file of N lines into an ArrayList of strings.
This is what I have, anyone have any suggestions for how to cut down line count and objects?
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
public class FileLoad {
    public static void main(String[] args) throws IOException, FileNotFoundException {
        List<String> hs = new ArrayList<String>();
        BufferedReader br = new BufferedReader(new FileReader(args[0]));
        String line;
        while ((line = br.readLine()) != null) {
            hs.add(line);
        }
    }
}
 
     
    