UpperCase Conversion in Java

public class ToUpperCase{
public static void main(String[] args) {
String str = "www.forgetcode.com";
String strLower = str.toUpperCase();
System.out.println("Original String: " + str);
System.out.println("String changed to Upper case: " + strLower);
}
}