string toLowerCase java example

toLowerCase() String Example

java.lang.String class comes with toLowerCase() String method to convert all uppercase letters into lowercase in the string. After modification, a new string is returned with all the conversions. The signature of toLowerCase() String is given as defined in Java API. public String toLowerCase(): Returns a new string after converting all…