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

What is the purpose of assert keyword used in jdk1.4.x?

751


What Is Composition?

780


What is the difference between numeric and integer?

718


'A class is a template for an object' explain this statement.

735


How can you share data between two thread in Java?

717


What is an example of declaration?

744


What is the advantage of OOP in java?

872


Is finalize() similar to a destructor?

755


Can we write class inside a class in java?

731


How will you compute size of a structure?

789


Does apple use java?

696


What is a substitution variable?

779


What are meta-annotations?

723


What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?

2195


What is an immutable class? How to create an immutable class?

770