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
23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an
What does sprintf return?
What is supplier in java?
What is the difference between multitasking and multithreading in Java
What does it mean to be immutable?
What are the different conditional statements?
If a method is declared as protected, where may the method be accessed?
What do you mean by inner class in java? Explain
Name and explain the types of ways which are used to pass arguments in any function in java.
What are different types of inner classes ?
Is hashset ordered?
Which non-unicode letter characters may be used as the first character of an identifier?
Is main an identifier?
What are the difference between composition and inheritance in java?
What is the base class in java from which all classes are derived?