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
Describe the principles of oops.
Can we write lambda without functional interface?
What is injection in java?
What is an interceptor in java?
What is the first argument of the string array in main method?
What is meant by swing in java?
In system.out.println(), what is system, out and println?
I run a web server. Am I at risk? : java security
Is jdk a compiler?
Are jvm’s platform independent?
Why sun introduce concept of anonymous class? What is need and real life use of anonymous class
What is jndi datasource in java?
How do I install java on windows?
How do I run a java program from the command line?
What is meant by java se?