lowercase to uppercase string in java code example Example 1: java uppercase "Hello World".toUpperCase() Example 2: java lower case to upper case toUpperCase()