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 is persistence xml in java?

569


What are the differences between java’s old java date api and java 8’s date and time api?

614


What is the difference between java se and java ee?

502


What about products that claim to detect malicious applets? : java security

543


How do I export a java project?

550






What is java ioc?

566


Is jdk an ide?

580


Please can anybody explain what exactly "the project architecture" means???

1760


What do you understand by casting in java language? What are the types of casting?

515


what are the different phases in delivering the project during development and maintenance?

4207


What about 'hostile applets'? : java security

564


What is meant by framework in java?

584


How many types of jdk are there?

567


What is the first argument of the string array in main method?

585


what is reflection api? How are they implemented?

598