toLowerCase() 方法将字符串转换为小写。
public String toLowerCase() 或 public String toLowerCase(Locale locale)
无
转换为小写的字符串。
public class Test {
    public static void main(String args[]) {
        String Str = new String("WWW.dida100.COM");
        System.out.print("返回值 :" );
        System.out.println( Str.toLowerCase() );
    }
}
以上程序执行结果为:
返回值 :www.dida100.com