What is differnce between byte code and unicode?

Showing Answers 1 - 1 of 1 Answers

uafshahid

  • May 1st, 2006
 

Byte code is simply the converted source code into arrays of bytes and generated after compilation of source code and is understandable only for interpreter or you can say java run time environment.

Unicode is character standard to represent alphabets of all the languages of world. Normally ASCII character codes are used in other languages because these characters are represented by simply one byte thats y the range of these characters is only from 0-255. we can represent 256 character/symbols etc. in ASCII. But unicode is character coding based on two bytes thats y the range is 0-65535 mean 65536. so we can represent all the language's alphabets exist in this world because 65536 range is a bit extra sufficient to accomodate the alphabets of all the languages of world.

As character in Java is of two bytes thats y internally every character is represented by unicode character scheme( which supports the characters which consists of two bytes).

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions