if x is a capital letter java code example
Example 1: how to make a char uppercase in java
char q = Character.toUpperCase('d');
Example 2: java first letter to upper case
StringUtils.capitalize(..)
char q = Character.toUpperCase('d');
StringUtils.capitalize(..)