question: private static String capitalize ( String s ) { if ( s == null || s . length ( ) == 0 ) { return "" ; } char first = s . charAt ( 0 ) ; if ( Character . isUpperCase ( first ) ) { return s ; } else { return Character . toUpperCase ( first ) + s . substring ( 1 ) ; } }
target:  INTERNAL method that capitalizes the first character of a string