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 |
Why is it called boolean?
What is thin driver and thick driver. why it is called so?
What do you mean by compiler?
When we give defination of interface method in the class why method must be public???
Which is the best approach for creating thread ?
Why java is considered dynamic?
What is the difference between private & public & friendly classes?
How is final different from finally and finalize?
What is a copy constructor in java?
What is the return type of a program?s main() method?
Difference between ‘>>’ and ‘>>>’ operators in java?
How java uses the string and stringbuffer classes?