How to convert Char to String in Java with Example

February 26, 2012

There are multiple ways to convert char to String in Java. In fact String is made of Character array in Java, which can be retrieved by calling String.toCharArray() method. Char is 16 bit or 2 byte unsigned data type in java mainly used to store characters. You can convert a single character into String for any purpose in Java by more than one…

See original here:
How to convert Char to String in Java with Example

Previous post:

Next post: