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 reflection in java?
What is a singleton in java?
What are anonymous methods and lambda expression?
What is meant by java se?
In java thread programming, which method is a must implementation for all threads?
What are jpa annotations?
What is the use of lambda functions?
For each of the following program segments,give a big zero
analysis for the running time
1.For (i=0;i What happens when you omit a brace or misspell one of the words, like public or In hibernate what is the difference between the Session and SessionFactory? How many types of jdk are there? What is loose coupling in java? Is php faster than java? What is orm in java? What is the difference between lambda expression and anonymous methods?