What is the difference between Unicode and hash code?

Showing Answers 1 - 8 of 8 Answers

Padmasini

  • Mar 29th, 2006
 

unicode is a 16-bit character code that supports unversal character-set

Hashcode is a html representation value for the 2-bit code characters

Not sure if hash code supports unicode

  Was this answer useful?  Yes

sampra

  • Feb 13th, 2008
 

Unicode is used for globlization ie its support all  languages  its use for globlization
where as hash code is a unique number which is given to object by JVM .hash code is implement by some algorithm
like:
String="abc";
hashcode=97*31(power)2+98*31(power)1++99*31(power)0=Some integer no
97/98/99 is the ascii value of abc respectivly ..

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