how to make a char uppercase in java

Java
char q = Character.toUpperCase('d');
Source

Also in Java: