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


Please Help Members By Posting Answers For Below Questions

How do I enable javascript?

495


Are there tuples in java?

479


Can the main method be declared final?

529


What is a context in java?

461


What is cloning in java?

493






What is ibatis in java?

514


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.

1509


What is dialect in java?

463


What is use of jpa?

472


In java thread programming, which method is a must implementation for all threads?

511


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?

467


What is the means of java?

473


What is the resourcebundle class?

537


Why is struts used in java?

486


What is jdk for netbeans ide?

508