As per the Unicode Character Base Scheme, a ‘char’ datatype in JAVA yields a space of 2 Bytes in a memory location.
Hence, the calculation:
2*8 = 16 bits
So,
(2^16)-1 = 65535
Thus, shows JAVA character have Unsigned Integer Value.
Fruitful information for programmers for yielding an efficient code
All The Best!
0
Thanks for answering.
Anonymous User|7 years ago
Write Your Answer
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.