The return type of format(String format, Object... args) method is 'String'.
What is the return type of length() method of java.lang.String class in java?
What is the return type of charAt(int index) method of java.lang.String class in java?
What are static methods available in string class in java?
What the function of toUpperCase(Locale l) method of String class in java?
What the function of toUpperCase() method of String class in java?