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
Why does it take so much time to access an applet having swing components the first time?
Can we override data members in java?
What are the string methods in java?
Explain about features of local inner class?
What is the difference between an if statement and a switch statement?
What is regex in java?
What is the difference between superclass and subclass?
How many times finalize method will be invoked? Who invokes finalize() method in java?
Explain about assignment statement?
How can we avoid including a header more than once?
What are jee technologies?
what do you mean by marker interface in java?
What are methods in java?
What is math exp in java?
What is your platform’s default character encoding?