ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
What are uses of Hash Code?
 Question Submitted By :: Suraj Kumar
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What are uses of Hash Code?
Answer
# 1
1. When equals() method is invoked on java objects to check 
their equality, then the hash code of objects are checked. The 
two objects having same hash code are equal.
2. The objects having distinct hash code in HashTable 
increases the performance of HashTable. Hence, the objects 
should be checked its distinct hash code before storing into 
HashTable.
 
Is This Answer Correct ?    6 Yes 1 No
Suraj Kumar
 
  Re: What are uses of Hash Code?
Answer
# 2
memory location
 
Is This Answer Correct ?    2 Yes 2 No
Guest
 
 
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
What are different types of Exceptions?.  5
Can we declare an anonymous class as both extending a class and implementing an interface? Wipro7
how to call One constructor from another; Innodata-Isogen7
Difference between array and arraylist. Sai-Softech4
Explain Public static void main?  2
What is the use of Getters and Setters method ?  2
what is aberivation of java?  10
How a class can implement an interface? SysArc4
can we have function for truncating the sign as like abs in oracle.  1
wahts is mean by thread? HCL14
What are the parameters used in Connection pooling? IBM1
what release of java technology are currently available what do they contain?  1
what is webservices Mind-Tree4
There are 2 classes, 1 LandAnimal and another WaterAnimal. There is another class Animal which wants to have the properties of both LandAnimal and WaterAnimal. How will you design this situation? KPIT3
How are Observer and Observable used?  2
How does Vector implement synchronization? Ness-Technologies2
What are Advatages of Overloading and Overridding. TCS3
What is the diff. b/w Interfaces & Abstract class? Ericsson4
List interface?  2
Linked List reverese program Bally-Technologies1
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com