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
How to make a write-only class in java?
Is int primitive data type?
Is sizeof a keyword in java programming?
Are floats faster than doubles?
What are the restrictions imposed on method overriding?
What does you mean in math?
What is the purpose of lambda expressions?
What is difference between array and arraylist in java?
What is the use of toarray () in java?
In java how do we copy objects?
What is a variable declaration?
How many boolean functions are there?
What is the driver class?
What is qms certification?
How many types of interfaces are there?