from capital letters to small letters java code example Example: java lower case to upper case toUpperCase()