groups

name language licence
Boolean isLetterOrDigit Method Java Other
String getPassword Accessor Method Java Other
DerbyCar Java Other



language: Java
licence: Other

Boolean isLetterOrDigit Method

options: view full snippetsend to code collector
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; 		  
}
	
(Continues...)