What is Java’s character type, and how does it differ from the character type used by many other programming languages? The char data type in Java is a single 16-bit Unicode character. It represents a character that could be any one of the world languages. Other programming languages support 256 characters in general, and most of them represent ASCII / EBCDIC characters. They do not support world language characters.
|