why java has the size of character 2 byte ,while in c/c++ it
is of 1 byte?

Answer Posted / eknath337

Bcz of the JVM internally representing the character in
Hexadecimal system.That's why it is using 2 byte instead of
1 byte.

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are jpa repositories?

478


can anyone tell me what kind of questions are asked for core java exam in aptech

1450


What is javax annotation generated?

470


What is serializable in java?

468


How do I know if I have jre or jdk?

482






In an htm form i have a button which makes us to open another page in 15sec.how will you do that?

1358


What is the difference between swing and awt components?

635


what about jdb and javadoc by example ?

1704


What are the Advantages of java se 8 new features?

530


How do I open java console?

496


How do you type the lambda symbol?

483


What is transient in java?

479


What is the difference between a jdk and a jvm?

486


Is eclipse a jdk?

495


What is messaging queue in java?

492