Hello.
I have wrote some code to read a 10 lined text file line by line.
As it is reads each line, the string is added to an Array.
The only problem is, the code seems to be skipping the first line of the file.
All the other lines are stored into the Array without a problem.
Can someone please tell me how to fix this

Thanks!
FileInputStream in = new FileInputStream("myfile.txt");
BufferedReader br = new BufferedReader(new InputStreamReader(in));
String strLine;
String[] myarray;
myarray = new String[10];
while ((strLine = br.readLine()) != null) {
for (int j = 0; j < myarray.length; j++){
myarray[j] = br.readLine();
}
}
in.close();