web
 

Java - toLowerCase() Method


The method returns the lowercase form of the specified char value.

Syntex

char toLowerCase(char ch)

Parameters

what is mean of ch?
ch − Primitive character type.

Example

public class Test {

   public static void main(String args[]) {
      System.out.println(Character.toLowerCase('a'));
      System.out.println(Character.toLowerCase('B'));
      System.out.println(Character.toLowerCase('C'));
   }
}

Output
a
b
c

Run example »