Convert Characters to Lower Case in Java
Description
The following code shows how to convert Characters to Lower Case.
Example
//from w w w . j a va2 s . c om
public class Main {
public static void main(String[] args) {
String str = "This Is a Test";
str = str.toLowerCase();
System.out.println(str);
}
}
The code above generates the following result.
Home »
Java Tutorial »
Java Data Type »
Java Tutorial »
Java Data Type »