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
What is crud operations in java?
Which is best framework in java?
Why is struts used in java?
What is reflection in java?
What does el mean in java?
Is java an api?
What are microservices in java?
What is profile in java?
Differences between intermediate operations and terminal operations of java 8’s stream api?
Does jvm maintain a cache by itself? Does the jvm allocate objects in heap? Is this the os heap or the heap maintained by the jvm? Why
Why doesn't lsdou work under windows nt? : java security
Do I need to install jre if I have jdk?
Is php faster than java?
What is the difference between a while statement and a do statement?
Can a method be static and synchronized?