Answer Posted / siva thimmannagari
everyone knows that,the objects in the HASHMAP will be
stored in the form of Key,Value pair..
Here key is the hashcode
String s1="shiva";
if u want to know the hashcode for s1--simply type
s1.hashcode();this will give the hashcode which will be
used as a KEY
| Is This Answer Correct ? | 7 Yes | 13 No |
Post New Answer View All Answers
What is java basic concept?
Can we override the overloaded method?
What about method local inner classes or local inner classes in java?
What is map java?
Tell me a few examples of final classes defined in Java API?
What is comparable and comparator interface? List their differences
What’s the difference between applets and standalone program?
Is it possible to use string in the switch case?
Where will it be used?
List out five keywords related to exception handling ?
What is the final variable?
How do you override a method in java?
Can a main method be overloaded?
What is a numeric digit?
Why do we use variables?