I would like to read several files at the same time in Java. I have for example 5 files, and each file has 50 lines (but I cann't know it in advance).
I would like to read the line number 1 on each file, then the line number 2 on each file etc..
How can I do it ?
I have a BufferedReader array like :
BufferedReader[] readers = new BufferedReader[x];