how to use uppercase and lowercase function in java code example Example: java lower case to upper case toUpperCase()