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
How many types of operators are there?
What is an example of a boolean?
Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?
Write a method that will remove given character from the string?
What is mean by collections in java?
What is set and get methods in java?
Can constructor return value?
What does the “final” keyword mean in front of a variable? A method? A class?
What is local variable and instance variable?
Write a program to print fibonacci series up to count 10.
List some oops concepts in java?
What are parsing rules?
How do you print array in java?
What are the two parts of a conditional statement?
java program with complete 4 oops concepts implemented example