Java String toLowercase() and toUpperCase() Methods
1. tolowercase() method
This Java string method converts every character of the particular string into the lower case by using the rules of the default locale.
Note: This method is locale sensitive. Therefore it can show unexpected results if used for strings which are intended to be interpreted separately.
uppercase converted to lowercase
2. toUppercase () method
The toUppercase() method is used to convert all the characters in a given string to upper case.