manage the following exceptions as follows: I. When first character is not capital. 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"