In the HashMap, we know the values but we dont know the key,
then how can we get the key from HashMap ?????

Answer Posted / ravikiran

getkeyMethodMap

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to display all the prime numbers between 1 and n (n is the number, get the input from user)

607


When can you say a graph to be a tree?

726


what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread

608


What does jenkins do?

570


What is parsing in java?

616






How do you override a method?

626


How to print an arraylist in java?

595


How many bits is a boolean?

701


What is a Null object?

1020


Can we sort list in java?

695


What is a boolean field?

605


How can constructor chaining be done using this keyword?

753


What are advantages of exception handling in java?

677


What are the differences between abstract class and interface?

601


What is ide with example?

635