Advertisement
Guest User

Untitled

a guest
Oct 10th, 2015
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. try(BufferedReader br = new BufferedReader(new FileReader(file))) {
  2. for(String line; (line = br.readLine()) != null; ) {
  3. // process the line.
  4. }
  5. // line is not visible here.
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement