Advertisement
Guest User

Untitled

a guest
May 26th, 2015
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. /*# YOUR CODE HERE */
  2. try{
  3. Scanner sc = new Scanner(new File(UIFileChooser.open()));
  4. while(sc.hasNext){
  5. unit=sc.nextInt;
  6. day=sc.nextInt;
  7. name=sc.nextLine;
  8. phone=sc.nextLine;
  9. }
  10.  
  11. sc.close();
  12. }
  13. catch(IOException e){UI.println("Fail: " + e);}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement