Java char Variable
(Redirected from Java char variable)
Jump to navigation
Jump to search
See: Java Primitive Variable, char Variable, Unicode, 16-bit Unicode Character, ASCII.
References
2010
- http://download.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html
- char: The char data type is a single 16-bit Unicode character. It has a minimum value of '\u0000' (or 0) and a maximum value of '\uffff' (or 65,535 inclusive).
- http://download.oracle.com/javase/tutorial/i18n/text/convertintro.html
- In the Java programming language char values represent Unicode characters. Unicode is a 16-bit character encoding that supports the world's major languages. You can learn more about the Unicode standard at the Unicode Consortium Web site.
Few text editors currently support Unicode text entry. The text editor we used to write this section's code examples supports only ASCII characters, which are limited to 7 bits. To indicate Unicode characters that cannot be represented in ASCII, such as ö, we used the \uXXXX escape sequence.
- In the Java programming language char values represent Unicode characters. Unicode is a 16-bit character encoding that supports the world's major languages. You can learn more about the Unicode standard at the Unicode Consortium Web site.