what is Hashmap & Hashtable wirh example?
Answer Posted / sivadasan
Hashmap is not Synchronized where as Hashtable is
Synchronized.
Hashmap allows null values as keys.
Hashtable doesn't allows null values as keys.
| Is This Answer Correct ? | 3 Yes | 6 No |
Post New Answer View All Answers
What is the purpose of the wait(), notify(), and notifyall() methods in java programming?
How do you clear a method in java?
How do you declare an array that will hold more than 64KB of data?
Why is a singleton bad?
What is the difference between synchronized and synchronized block?
What is the difference between array list and vector in java?
Which package is always imported by default?
What is java Applet?
Name container classes in java programming?
What is matcher in java?
What is your platform’s default character encoding?
what type of questions asked for barclays technologies pune please send urgent
I want to re-reach and use an object once it has been garbage collected. How it's possible?
What is the difference between final, finally and finalize()?
What is parsing a string?