public static boolean hasLowerCaseChar(String str){
  for (int i=0; i < str.length(); i++) {
    if (Character.isLowerCase(str.charAt(i))) {
      return true;
    }
  }
  return false;
}

public static boolean hasLowerCaseChar ( String str ) { for ( int i = 0 ; i < str . length ( ) ; i ++ ) { if ( Character . isLowerCase ( str . charAt ( i ) ) ) { return true ; } } return false ; }
does the string have a lowercase character ?
