language: Java
licence: Other
Boolean isLetterOrDigit Method
public boolean setPassword(String newPassword) {
this.password = newPassword;
for (int i=0; i < this.password.length(); i ) {
if (!Character.isLetterOrDigit(this.password.charAt(i))) {
return false;
}
} return true;
}



library
java (3)
hello world (4)