what is difference betwwen hashmap and hashtable ?
Answer Posted / sekhar
Both class are under map interface.But hash table is
synchronized.hashMap is not.we can explictly synchronize
hash map by using the method
Collections.synchronizedMap(Hash Map);
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Why do we need wrapper class?
Why do we declare a class static?
Is string is a class in java?
What do you mean by hashing?
What is the difference between multitasking and multithreading in Java
Can we sort a map in java?
What is yield () in java?
Can we have a method name same as class name in java?
Explain polymorphism citing an example.
Differentiate between static and non-static methods in java.
What are the procedures?
What is the impact of declaring a method as final?
How objects are stored in java?
What is the symbol for space?
Why is the main method declared static?