why java has the size of character 2 byte ,while in c/c++ it
is of 1 byte?
Answer Posted / chandan
Java was created around the time when the Unicode standard had values defined for a much smaller set of characters. Back then it was felt that 16-bits would be more than enough to encode all the characters that would ever be needed. With that in mind Java was designed to use UTF-16. In fact, the char data type was originally used to be able to represent a 16-bit Unicode code point.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
In an htm form i have a button which makes us to open another page in 15sec.how will you do that?
What is meant by java se?
What is meant by code profiling?
What is java lang noclassdeffounderror?
Explain suspend() method under thread class>
What is gpt and gpc? : java security
Why doesn’t the main method throw an error with no arguments?
What is java api?
How do I install eclipse?
What is jsr in java?
What is the difference between map and flatmap in java?
Is java a framework?
What happens when you omit a brace or misspell one of the words, like public or
What is contextpath in java?
Why doesn't lsdou work under windows nt? : java security