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 java instanceof operator?
Can we declare an array without size in java?
What is the disadvantage of java?
What is queue in java?
Should you use singleton pattern?
Is there any difference between nested classes and inner classes?
Give any two differences between C++ and java.
What is byte value?
What is floating data type?
Can main() method in java can return any data?
What is the difference between synchronized and synchronized block?
What is use of static method?
What is time complexity algorithm?
What are the five major types of reference sources?
What is the generic function?