Reading a file and putting it into a array but line 1 is null?

reading a file into an array of objects java
java read text file into array of strings
how to read text file in java and store it to an array
java read file into int array
how to read text file in java and store it to an arraylist
reading data from a file into an array c++
how to read data from file into arraylist in java
java scanner read file into array