GeekInterview.com
Series: Subject: Topic:
Question: 9 of 995

What is the purpose of hash code in Java?

Asked by: Interview Candidate | Asked on: Sep 2nd, 2011
Showing Answers 1 - 2 of 2 Answers
amrutabhavana

Answered On : Sep 4th, 2011

View all answers by amrutabhavana

Hash code is nothing but byte code. The byte code produced in Java is independent of architecture. We can run this byte code in any platform. By this we can say that Java is platform independent.

  
Login to rate this answer.
rajesh

Answered On : Feb 28th, 2012

At the time of creating object constructor will be execute it will tell the size of memory to the JVM and JVM will tell to the heap manager and heap manager will create the memory at that time heap manager will create one unique id is called hash code

  
Login to rate this answer.

Give your answer:

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

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.