Character class
In development, we come across situations where we need to use objects instead of primitive data types. In order to achieve this, Java provides wrapper class Character for primitive data type char.
The Character
class wraps a value of the primitive type char in an object.
An object of
class Character contains a single field whose type is char.
The Character
class provides a large number of static methods for determining a character's category (lowercase letter, digit, etc.)
You can create a Character object with the Character constructor.
Character ch = new Character('a');

             
Examples
boolean test1= Character.isDigit(‘K’); // false
boolean test2 = Character.isLowerCase(‘b’); // true
char ch1 = Character.toLowerCase(‘H’); //h
char ch2 = Character.toUpperCase(‘j’); //J