toUpperCase() String Example

java.lang.String class comes with toUpperCase() String method to convert all lowercase letters into uppercase in the string. After modification, a new string is returned with all the conversions. The signature toUpperCase() String is given as defined in Java API. public String toUpperCase(): Returns a new string after converting all the lowercase letters to uppercase letters …

toUpperCase() String Example Read More »