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

Answer Posted / rajender

i agree with anuradha answer.but we can implement hashcode
method.in case of strings they implemented hashcode

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by platform independence? What is an interface?

809


What does microservices mean?

725


Explain what access modifiers can be used for variables?

827


we have syntax like for(int var : arrayName) this syntax is to find whether a number is in the array or not.but i want to know how to find that number's location.

1825


What does percent mean in java?

805


Is java a security risk?

817


Why can't you declare a class as protected?

820


Can java list contain duplicates?

808


Highest level event class of the event-delegation model?

3728


What are java packages? What's the significance of packages?

887


What is the purpose of the strictfp keyword?

862


How can we use primitive data types as objects?

755


Can a vector contain heterogenous objects?

822


What is the difference amongst jvm spec, jvm implementation, jvm runtime ?

735


How to sort numbers in java without array?

755