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 4 doubled?
Can we create our own wrapper class in java?
What is class level lock ?
How are java objects passed to a method and what are native methods?
How do I start learning java?
Explain about doubly linked list
Can we make a constructor final?
Is java platform independent?
How is a variable stored in memory?
What do you mean by append?
What is Java Reflection API? Why it’s so important to have?
What is the purpose of garbage collection in java, and when is it used?
What is javac used for?
Explain the difference between throw and throws in java?
What is meant by object oriented programming – oop?