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
Can you give few examples of final classes defined in java api?
what is meant by HQL?
Explain the term virtual machine?
What is the full form of jpeg?
Can we have return statement in finally clause? What will happen?
What’s the difference between the methods sleep() and wait()?
What is the meaning of variables in research?
What is treeset in java?
What is difference between hashset and hashmap?
What are basic keywords?
What are latest features introduced with java 8?
Can we assign the reference to this variable?
Can a class be private in java?
Is minecraft 1.15 out?
Describe the various concepts related to object oriented programming (oop).