public class demo1
{
public static void main(String[] args)
{
String str = "HELLO";
String lowerStr = str.toLowerCase();
System.out.println("Original String: " + str);
System.out.println("String in lowercase: " + lowerStr);
}
}Java
Program to convert all the characters of a string to lowercase.

Written by
View ProfileNikhil Juneja
Passionate software developer and technical contributor at TutorialsLink.
