what is the difference between HashMap and Hashtable
Answer Posted / sarithareddy
Hashmap work as like as Hashtable but hashtable is
synchronised hash map was not sychronized
hashtable does not allow null values
hashmap allows null values
| Is This Answer Correct ? | 123 Yes | 16 No |
Post New Answer View All Answers
What do you mean by buffering?
What are the differences between abstract class and interface?
there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box.
Can a method inside a interface be declared as final?
What are the different types of inheritance in java?
When do we use synchronized blocks and advantages of using synchronized blocks?
How can we pass argument to a function by reference instead of pass by value?
What do you mean by flow of struts?
What is the difference between an if statement and a switch statement?
How variables are stored in memory?
Is it possible to specify multiple jndi names when deploying an ejb?
What is command line used for?
Why is singleton instance static?
Where is the singleton class used?
What exactly is java?