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 are access modifiers?
What exactly is java?
What is a final class in java?
Is arraylist ordered in java?
What is variable in java?
where do we use init()
Diff between Comparator and Comparable?
Explain java coding standards for methods?
What is "Java Native Interface" and how to use it?
What is an object's lock and which object's have locks in java programming?
What are the 2 types of java programs?
aabccdee Find the used alphabets as abcde ?