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 java web application?
What is a yaml file in java?
What is cache in java?
What is mq in java?
What is data persistence in java?
What is exe file in java?
What is a singleton in java?
What is jpa entitymanager?
What's the difference between authentication and authorization? : java security
Do I need both jdk and jre?
can a program use more than one command-line argument?
What is tight coupling in java?
What is cdi in java?
How do I open the java control panel?
What is optional in java 8? What is the use of optional?advantages of java 8 optional?