The simplest way is to read it, ignoring them. For instance:
try {
for(int i=0 ;i < 4; i++) {
reader_ques.readLine();
}
while ((line_q = reader_ques.readLine()) != null) {
// do something with line_q
}
} catch (IOException e) {
e.printStackTrace();
}
or you can have an ArrayList of string:
ArrayList<String> fileContent = new ArrayList<String>();
try {
while ((line_q = reader_ques.readLine()) != null) {
fileContent.add(line_q);
}
}
in the second case, you have the first row of the file at index 0 of the ArrayList
and so on
if you want the 5th String you just do
String myContent = fileContent.get(5)