Get char value from Character object

char charValue()
Returns the value of this Character object.

public class Main{
  public static void main(String[] argv){
    System.out.println(new Character('a').charValue());    
  }
}

The output:


a
Home 
  Java Book 
    Essential Classes  

Character:
  1. Create a character object from char value
  2. Get char value from Character object
  3. Check the character type
  4. Get the char type from char value
  5. Change character case
  6. Compare two characters
  7. Convert character to String
  8. Get the numeric value for a char