//This section converts password to lower case and says that if the string password contains "passwd" it will return false
if(password.toLowerCase().contains("passwd")){
returnfalse;
returnfalse;
}
}
//This Section creates the string passWord which contains "password"
StringpassWord="password";
//This section converts password to lower case and says that if password contains "password" it will return false
//This section converts password to lower case and says that if the string password is equal to passWord or contains passWord then it will return false