Question: Read from file java
How to Read from file java? What is the best method for a text file having a size of 10GB. Since i have to process the file one line at a time so tell me the very best method.
There are many ways to read file in java.
The easiest way is to use the BufferedReader class to read a text file.
Read more at Read File in Java