In the HashMap, we know the values but we dont know the key,
then how can we get the key from HashMap ?????
Answer Posted / siva thimmannagari
by using the hashcode() method
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the different conditional statements?
What is a newline character in java?
What is sortedset in java?
What is java regex?
What’s the difference between applets and standalone program?
What is parsing and its types?
What is contract between hashcode and equal method?
What is nested class?
What is the difference between the ">>" and " >>>" operators in java?
What is the difference between the file and randomaccessfile classes?
How to sort an unsorted array in java?
Can we extend singleton class in java?
Why is stringbuffer thread safe?
Is a boolean variable?
What is the locale class in java programming?