Advertisement
Guest User

Untitled

a guest
Mar 20th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. try {
  2. System.out.printf(taal.geefWoord("wachtwoord"));
  3. wachtwoord = invoer.next();
  4. }
  5.  
  6. catch(InputMismatchException e)
  7. {
  8. invoer.nextLine(); //buffer leegmaken
  9. System.out.println("Foute invoer: geef opnieuw in!");
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement