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 |
How can constructor chaining be done by using the super keyword?
Does java linked list allow duplicates?
What are different types of constants?
What is string english?
Are maps ordered java?
What is Hash Code in Java?
What are the Abstract Classes provided by Java?
Does hashset allow duplicates in java?
How do you reverse sort a list in java?
Why is core java important?
What is an immutable class?
What are wrapped classes?