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

When arithmeticexception is thrown?

800


What class allows you to read objects directly from a stream?

1111


What is replaceall in java?

769


What is a flag variable?

744


What are the differences between abstract class and interface?

748


What are singleton services?

675


What is a JAR file?

795


What is wrapper class html?

716


What technique can be employed to compare two strings?

791


Garbage collection in java?

784


What is the default value of local and global variables?

844


How many ways can you break a singleton class in java?

716


What happens if a constructor is declared private?

794


What is the right data type to represent a price in java?

757


Is arraylist ordered in java?

774