capitalize only the first sring code example
Example: init cap java
String str = "java";
str = str.substring(0, 1).toUpperCase() + str.substring(1);
// str = "Java"
String str = "java";
str = str.substring(0, 1).toUpperCase() + str.substring(1);
// str = "Java"