code: public static String toUpperFirstChar(final String s)
      {
          if (Character.isUpperCase(s.charAt(0)))
          {
              return s;
          }
  
          return Character.toUpperCase(s.charAt(0)) + s.substring(1);
      }
docs: Uppercase the first character of a given String.
  
  @param s to have the first character upper cased.
  @return a new String with the first character in uppercase.