Skip to main content

Read a file line by line in Java

 Below code snippet shows how to read a file line-by-line in Java



And below is a simple test.

Comments