why java has the size of character 2 byte ,while in c/c++ it
is of 1 byte?
Answer Posted / chandan singh
It is because C and C++ has limited set of characters. But java has all the character which are used in the whole world. like chineese language itself has 126 character. Every character has unique code and it is defined by Unicode system. Similarly java supports many many other characters but C and C++ don't.
Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
Why is class forname used in java?
Define network programming?
How do I open my java console?
Which is best framework in java?
What is flatmap in rxjs?
What is data persistence in java?
What is java api?
What is tuple2?
What is the difference between lambda expression and anonymous methods?
What is transactional in java?
What happens when you omit a brace or misspell one of the words, like public or
Explain working of java virtual machine (jvm)?
What is the java api?
What are tags in java?
What does @override mean in java?