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 |
what happens when we add the objects morethan the size limit to a hashmap
What is an argument java?
What is hashmap and map?
What is super constructor?
Can subclass overriding method declare an exception if parent class method doesn't throw an exception?
What is difference between local variable and global variable?
What is compareto () in java?
What are class types in java?
Define an applet in java?
What comes to mind when someone mentions a shallow copy in java?
What is int short for?
What is an immutable object?