public static boolean hasLowerCaseChar(String s){
  char[] chars=s.toCharArray();
  for (  char c : chars) {
    if (Character.isLowerCase(c)) {
      return true;
    }
  }
  return false;
}

public static boolean hasLowerCaseChar ( String s ) { char [ ] chars = s . toCharArray ( ) ; for ( char c : chars ) { if ( Character . isLowerCase ( c ) ) { return true ; } } return false ; }
does the string have a lowercase character ?
