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 is the difference between post and put?
How many threads can I run java?
What is a locale?
what is the constructor and how many types of constructors are used in java?
How many bytes is a string in java?
What is formatted output?
what r callable statement and give their proper use
Can u overload main()method.Give with example.
6 Answers IBM, Schimatic Technologies,
Does java linked list allow duplicates?
What is the use of generics? When was it added to the Java development Kit?
What is a null point?
What is thread?