what is Hashmap & Hashtable wirh example?
Answer Posted / rameshreddy.k
---HashTable is synchronised BUT hashmap is not synchronised
---HashTable not allow null keys and null values BUT
HashMap allow only one null key and multiple null values
---HashTable not allow Duplicate keys and Douplicate values
are allowed.
| Is This Answer Correct ? | 12 Yes | 3 No |
Post New Answer View All Answers
Is main a function?
What is the equal sign?
What is ‘is-a ‘ relationship in java?
What is difference between overloading and overriding in java?
Is a class an object?
What is int lol?
How is string stored in java?
What is time complexity algorithm?
What is a final class ?
What are singleton services?
What is diamond operator in java?
What is the difference between actual and formal parameters?
Does A Class Inherit The Constructors Of Its Superclass?
List the interfaces which extends collection interface?
What are the different approaches to implement a function to generate a random number?