Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(Character.isDigit(passCode.charAt(0)))
- {
- hasDigit = true;
- }
- else if(Character.isDigit(passCode.charAt(1)))
- {
- hasDigit = true;
- }
- else if(Character.isDigit(passCode.charAt(2)))
- {
- hasDigit = true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement