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
What is a percentage sign called?
How are observer and observable used in java programming?
What is a class object?
What is a instance variable in java?
Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.
Is null == null in java?
What happens when a thread cannot acquire a lock on an object in java programming?
What is parameter example?
How do you implement singleton class?
Are floats faster than doubles?
How do you reverse sort a list in java?
What will be the default values of all the elements of an array defined as an instance variable?
What is the difference between == and === javascript?
Wha is the output from system.out.println(“hello”+null); ?
How to print an arraylist in java?