Difference between Hash Table and Hash Map?
Answer Posted / santosh nayak
HashMap hm=new HashMap();
hm.put("s","s");
hm.put("a","a");
hm.put(null,"r");
hm.put(null,"t");
hm.put("e","e");
This is the code where we can allow multiple null key values
in HashMap.
| Is This Answer Correct ? | 1 Yes | 12 No |
Post New Answer View All Answers
how we can use debug in myeclipse 6.0 in order solve the problems that exist in our program when there are 900 to 1000 pages in a web application
What do you understand by abstract classes?
What is a lightweight component?
What is the meaning of I ++ in java?
What are anonymous inner classes?
why are wait(), notify() and notifyall() methods defined in the object class? : Java thread
What is the difference between a choice and a list?
What is java in detail?
Which method returns the length of a string?
What is anonymous inner class?
Can you instantiate the math class in Java?
Can you have two constructors in java?
What are the 4 versions of java?
In java, how we can disallow serialization of variables?
What is string immutability?