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
Can we use both this () and super () in a constructor?
Give the difference between the println method and sqrt method?
What is the purpose of format function?
What is array class in java?
How to display all the prime numbers between 1 and n (n is the number, get the input from user)
Why string is not thread safe?
List some important features of java 10 release?
Explain the transient field modifier?
how to deploy apache tomcat server to weblogic server in java
What is purpose of applet programming?
What is reverse function?
What is stack class in java?
State some advantages of java?
What does percent mean in java?
Is set thread safe java?