As far I know, the two most common methods of reading character-based data from a file in Java is using Scanner or BufferedReader. I also know that
Scanner
BufferedReader
Following are the differences between BufferedReader and Scanner
Thanks