what is the difference between HashMap and Hashtable
Answer Posted / sarithareddy
Hashmap work as like as Hashtable but hashtable is
synchronised hash map was not sychronized
hashtable does not allow null values
hashmap allows null values
Is This Answer Correct ? | 123 Yes | 16 No |
Post New Answer View All Answers
Define an applet in java?
What are the super most classes for all the streams?
When to use runnable interface vs thread class in java?
What does sprintf return?
What is the difference between access specifiers and access modifiers in java?
What is a java object and java application?
What is intern method in java?
Can we initialize the final blank variable?
Explain about arraylist?
Java Compiler is stored in JDK, JRE or JVM?
Difference between arraylist and vector.
What is tostring () method?
What restrictions are placed on method overriding?
How are multiple inheritances done in Java?
Define jre i.e. Java runtime environment?