if two references are having same hash codes,is that means
those are refering to same object?

Answer Posted / aparna

no.they need not b referin 2 same obj.if 2 references
pointng to same obj then also the hascode may same or maynt
same.its totally depends on JVM.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between overriding and overloading cases?

597


Can we use string in switch case in java?

574


Can we sort arraylist in java?

565


what is the major difference between linkedlist and arraylist in java?

551


What do you mean by chromounits in java8?

528






Can we assign integer value to char in java?

511


Why collection is called framework in java?

540


How do you replace all in word?

533


What is methodological framework?

575


What are the advantages of exception handling in java?

650


What do you mean by stack?

644


How are variables stored in memory?

579


What is primitive data type in java?

543


What do you mean by flow of struts?

745


Is java util regex pattern thread safe?

516