Character.charValue() has the following syntax.
public char charValue()
In the following code shows how to use Character.charValue() method.
public class Main{ public static void main(String[] argv){ System.out.println(new Character('a').charValue()); } }
The output: