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
How do I enable javascript?
Are there tuples in java?
Can the main method be declared final?
What is a context in java?
What is cloning in java?
What is ibatis in java?
Write a program for the following topic - switch case,looping using fuction calling,nesting,console input output. Aim- to print a menu:- 1-series 2-single value. Each menu having sub menu armstrong or perfect.
What is dialect in java?
What is use of jpa?
In java thread programming, which method is a must implementation for all threads?
Java prints out a ton of digits when I system.out.println() a double. How can I format it so it displays only 3 digits after the decimal place?
What is the means of java?
What is the resourcebundle class?
Why is struts used in java?
What is jdk for netbeans ide?