Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*# YOUR CODE HERE */
- try{
- Scanner sc = new Scanner(new File(UIFileChooser.open()));
- while(sc.hasNext){
- unit=sc.nextInt;
- day=sc.nextInt;
- name=sc.nextLine;
- phone=sc.nextLine;
- }
- sc.close();
- }
- catch(IOException e){UI.println("Fail: " + e);}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement