how to make character capitalized in java code example Example: how to make a char uppercase in java char q = Character.toUpperCase('d');