Advertisement
Guest User

Untitled

a guest
Dec 8th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. public void readFile(String file) throws java.io.IOException{
  2.  
  3. Scanner input= new Scanner(new File(file));
  4. System.out.println(input);
  5. input.close();
  6.  
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement