what java type wraps char
There are times, however, when you need to use a char as an objectâfor example, as a method argument where an object is expected. The Java programming language provides a wrapper class that wraps the char in a Character object for this purpose. An object of type Character contains a single field, whose type is char. This Character class also offers a number of useful class (i.e., static) methods for manipulating characters.