LowerCase Conversion in Java

public class ToLowerCase{
 
        public static void main(String[] args) {
               
                String str = "WWW.FORGETCODE.COM";
              
                 
                 String strLower = str.toLowerCase();
                 
                 System.out.println("Original String: " + str);
                 System.out.println("String changed to lower case: " + strLower);
        }
}