capitalizing the first char in a string in java 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"