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

Answer Posted / sathiyamoorthi

Hi Ganesh, Thank u for the ur very good answer...

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you reverse sort in java?

508


How do you break a loop?

568


What is composition in java?

730


Explain restrictions for using anonymous inner classes?

589


Can we write multiple catch blocks under single try block?

577






What are the basic control structures?

501


Are arrays dynamic in java?

541


How do you stop a thread in java?

600


What are the two environment variables that must be set in order to run any java programs?

535


Can we override constructor in java?

583


What are instance variables?

619


What does serializing data mean?

525


What is map in java?

522


What is string and example?

559


Can a class be private or protected in java?

560