Convert String To UpperCase In Java

Convert String to UpperCase in Java Example describes about Converting a String to UpperCase in Java.

For converting a string to uppercase in java, you can use the following method of String class

String toUpperCase() will transforms characters of a particular String into upper case characters according to the current locale.

String toUpperCase(Locale locale)method will transforms all the characters of a particular String into upper case characters according to the given Locale specified.