how to convert lowercase to uppercase of first two characters of a string in java code example Example: how to make a char uppercase in java char q = Character.toUpperCase('d');