Advertisement
Guest User

Untitled

a guest
May 26th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. if(Character.isDigit(passCode.charAt(0)))
  2. {
  3. hasDigit = true;
  4. }
  5. else if(Character.isDigit(passCode.charAt(1)))
  6. {
  7. hasDigit = true;
  8. }
  9. else if(Character.isDigit(passCode.charAt(2)))
  10. {
  11. hasDigit = true;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement