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 functional interface in javatpoint?
Can java run on google chrome?
What is type parameter in java?
What is the scope or life time of instance variables?
How to print an arraylist in java?
can you create interface instance ?
What is constructor and virtual function?
What is the method used to get the absolute value of a number?
What 4 doubled?
Is string pool garbage collected?
What are the advantages of exception handling in java?
How OOPS concept is achieved in Java?
6 Answers Cognizant, JPMorgan Chase, Xavient,