public static boolean invalidUserPassword(final String password){
  return password.length() < MIN_PWD_LENGTH || password.length() > MAX_PWD_LENGTH;
}

public static boolean invalidUserPassword ( final String password ) { return password . length ( ) < MIN_PWD_LENGTH || password . length ( ) > MAX_PWD_LENGTH ; }
checks password , length [ 1 , 16 ] .
