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
What are the differences between abstract class and interface?
What is Applet Stub Interface ?
What is the benefit of abstract class?
What is ctrl m character?
How to retrieve data from database in java using arraylist?
What does the ‘static’ keyword mean? Is it possible to override private or static method in java?
How many bytes is a unicode character?
What is used of static keyword in java?
Can we have 2 main methods in java class?
How do you clear an arraylist in java?
how to split string in java?
How do you create a bulleted list?
Why is flag used in java?
Can java arraylist hold different types?
What does n mean in java?