what is the character set used in java
Answers
Answered by
1
The native character encoding of the Java programming language is UTF-16. A charset in the Java platform therefore defines a mapping between sequences of sixteen-bit UTF-16 code units (that is, sequences of chars) and sequences of bytes.
mark as brainliest!
Answered by
0
Answer:- The character set used in Java is the Unicode Character Set.
- The character set is the set of the alphabets, the letters and some special characters that are valid in the Java language.
- The smallest unit of the Java language is the characters that are needed to write as the java tokens.
- These character set are well defined by the Unicode character set.
About Unicode Character Set:-
- Unicode character set is a 2-byte and 16-bit character set.
- It has 216 or 65,536 different possible characters in it.
- Only about 40,000-character sets are used in practice and the rest are reserved for the future expansion.
- Unicode character set can handle most of the world’s living languages and as well as a number of dead ones too.
- The first 256 characters of the Unicode character set are the characters that has a high-order byte as zero.
- These are identical to the characters of the ISO Latin-1 character set.
- The 65-character set is ASCII A and Unicode A and the 66 is ASCII B and Unicode B and so on.
To know more about the topic, go to the following links
https://brainly.in/question/22014979
https://brainly.in/question/26431408
#SPJ6
Similar questions