|
To Lowercase
The following example shows how to use Character.toLowerCase() API.
|
package com.bethecoder.tutorials.core.character;
public class CharToLowerCase {
/**
* @param args
*/
public static void main(String[] args) {
System.out.println(Character.toLowerCase('A'));
System.out.println(Character.toLowerCase('B'));
System.out.println(Character.toLowerCase('C'));
System.out.println(Character.toLowerCase('D'));
}
}
|
| |
It gives the following output,
a
b
c
d
|
|