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 does jenkins do?
What is default locale java?
Will the compiler creates a default constructor if I have a parameterized constructor in the class?
What is the difference between jdk and jre?
What are the two ways in which thread can be created?
Differentiate between == and equals().
What is gc()?
What is polymorphism and what are the types of it?
What is main method?
How do you sort an array in java?
Can a static class have a constructor?
What do you understand by a Static Variable?
What is parseint?
What is difference between == equals () and compareto () method?
What is the file extension for java?