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
When super keyword is used?
What is the purpose of the runtime class in java programming?
Can an integer be null java?
Which java version is latest?
What is meant by flickering?
What is the static variable?
Explain the difference between serializable and externalizable in java?
What are white spaces in java?
What are the kinds of polymorphism?
What is meant by singleton class?
Explain what access modifiers can be used for methods?
Can you call a method in a method?
Detail discussions on JVM, memory management and garbage collector.
How do you remove an object from an arraylist in java?
If a class is declared without any access modifiers, where may the class be accessed in java programming?