Answer Posted / siva kumar g.
Both are collection of objects.
Both are used to store the key , value pairs.
Hashtable is synchronized where as Hashmap is not.
Hashtable does't allow the null values.
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What is ternary operator?
Can you extend singleton class?
Which data type is a class in java?
How infinite loop is declared?
Differentiate between == and equals().
What is the difference between JDK and JVM?
What is a nested class?
Can a static method be overridden in java?
Tell us something about an iterator.
How much is a java license?
Explain the differences between static and dynamic variables?
What is data type in java?
What are the core java topics?
How can you add and remove nodes in jtree?
How do generics work in java?