how to change string to uppercase in java code example Example: java uppercase "Hello World".toUpperCase()