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 a substring of a string?
How do you allocate memory to object?
What is a super class and how super class be called?
What will happen to the exception object after exception handling?
If a class is declared without any access modifiers, where may the class be accessed in java programming?
What is design pattern and there types?
How do you convert an int to a string in java?
Can you access non static variable in static context?
What is the difference between menuitem and checkboxmenu item?
What is difference between == and === in js?
How many types of assembly languages are there?
What are the actions that can occur when a thread enters blocked state?