public static String makeUpperCaseWord(final String word){
  final StringBuilder res=new StringBuilder();
  if (word.length() > 0) {
    res.append(Character.toUpperCase(word.charAt(0)));
    if (word.length() > 1) {
      res.append(word.substring(1));
    }
  }
  return res.toString();
}

public static String makeUpperCaseWord ( final String word ) { final StringBuilder res = new StringBuilder ( ) ; if ( word . length ( ) > 0 ) { res . append ( Character . toUpperCase ( word . charAt ( 0 ) ) ) ; if ( word . length ( ) > 1 ) { res . append ( word . substring ( 1 ) ) ; } } return res . toString ( ) ; }
modify a word to upper case notation .
