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
Is java a compiler?
Difference between comparator and comparable in java?
Explain the selection sort algorithm?
What are use cases?
Give example to differentiate between call by value and call by reference.
Why is core java important?
How would you use Bubble Sort to sort the number of elements?
Explain about oops concepts.
What do you understand by garbage collection in Java? Can it be forced to run?
when a request is generated from apache tomcat 5.5 and goes to oracle 10g or mysql,,, how the oracle or mysql reads the request as apache is a web server and oracle 10g is application server? when the oracle 10g provides response, how the apche tomcat reads it???
How to sort an unsorted array in java?
What is field name?
What is purpose of find feature?
Is void a wrapper class?
How do you input a string in java?