Created
March 1, 2017 04:15
-
-
Save atroche/5e8b27448c8309f8894755135f8cdce1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FileReader fileReader = new FileReader("ten.json"); | |
BufferedReader bufReader = new BufferedReader(fileReader); | |
int lines = 0; | |
while (bufReader.readLine() != null) { | |
lines++; | |
} | |
System.out.println(lines); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment