what is difference betwwen hashmap and hashtable ?
Answer Posted / ravikiran
hashmap allows one null key and multiple null values.
hashtable doesn't allow null elements
hashmap is not synchronized
hashtable is snchronized
hashmap is not legacy
hashtable is legacy
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is a JAR file?
What is the main difference between java platform and other platforms?
Define Multiprogramming and Multiprocessing in java.
Write a program in java to create a doubly linked list containing n nodes.
What is the purpose of file class?
worst case complexities of Quick sort and Merge sort.
Difference between final and effectively final ? Why is effectively final even required ?
Can we have any code between try and finally blocks?
Which is bigger double or float?
What is difference between static class and singleton pattern?
What is the use of generics? When was it added to the Java development Kit?
What does g mean in regex?
Can we sort arraylist in java?
What is the difference between method overriding and overloading?
What is the functionability stubs and skeletons?