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
write a program that list all permutations of ABCDEF in which A appears before B?
Are private methods final?
How do I compare two strings in word in java?
What are the types of literals?
What are the 8 data types in java?
Which class should you use to obtain design information about an object in java programming?
What is a flag and how does it work?
Explain the protected field modifier?
How do you remove an element from an arraylist in java?
Give me some null interfaces in java?
How can you write a loop indefinitely in java programming?
What is a subsequence of a string?
How many decimal digits is 64 bit?
What is local declaration?
Name container classes in java programming?