what is hashmap& hashtable with example?
Answer / siva kumar g.
Both are collection of objects.
Both are used to store the key , value pairs.
Hashtable is synchronized where as Hashmap is not.
Hashtable does't allow the null values.
| Is This Answer Correct ? | 7 Yes | 1 No |
Is 64bit faster than 32 bit?
What is the purpose of a parameter?
How do you delete a list in java?
What is difference between hashset and hashmap in java?
how can be object class inherited to all class in a program when java does not support multiple inheritance??
Java Compiler is stored in JDK, JRE or JVM?
how come we know the object is no more used in the class?
What is the maximum size of list in java?
how is final different from finally and finalize in java?
Define an enumeration?
how your day start in your company
Why are pointers not secure?