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
What is the difference between sop and work instruction?
What is the difference between normal report & matrix report?
What are user defined exceptions?
What are 3 boolean operators?
What is integer parseint?
How do you calculate roots in java?
What are the advantages of exception handling in java?
How to provide security in java
What is nested top-level class?
What is jrmp?
What are the types of relation?
What is a void method?
What is used of static keyword in java?
Why static functions are used?
how is final different from finally and finalize in java?