Convert String to lowercase

Complete source code below will show you, how to convert a String to lowercase.

**************************************************************************
COMPLETE SOURCE CODE FOR : ConvertStringToLowercase.java
**************************************************************************


public class ConvertStringToLowercase
{
public static void main(String[]args)
{
//Create a String
String a="WELCOME TO JAVA2EVERYONE!";

//Convert created String to lowercase
a=a.toLowerCase();

//Print the String
System.out.println(a);
}
}


**************************************************************************
JUST COMPILE AND EXECUTE IT
**************************************************************************