public
String toLowerCase()
Converts
all of the characters in this String to lower case using the rules of
the default locale.
class StringToLower{ public static void main(String args[]){ String str = "eFgHiJkLm"; String lower = str.toLowerCase(); System.out.println("str = " + str); System.out.println("lower = " + lower); } }
Output
str = eFgHiJkLm lower = efghijklm
No comments:
Post a Comment