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 is array initialization in java?
What’s the difference between applets and standalone program?
How do you format in java?
What is the structure of java?
What is method overriding in java ?
What happens if I remove static from main method?
Is hashset ordered?
Is ++ operator thread-safe in java?
What is the size of string?
Is int primitive data type?
What is difference between static variable and global variable?
What is final variable?
What is the use of accept () method in java?
What is array pointers ?
what is the difference between future and callable interface in java?