how to split a large text file into smaller chunks using java multithread
问题 I'm trying to develop a multithreaded java program for split a large text file into smaller text files. The smaller files created must have a prefixed number of lines. For example: if the number of lines of input file is 100 and the input number is 10, the result of my program is to split the input file into 10 files. I've already developed a singlethreaded version of my program: import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io