mettre caractère de string en majuscule java

Java
 
maString = maString.toLowerCase();
maString = maString.substring(0,1).toUpperCase();
Source

Also in Java: