what is the difference between HashMap And HashTable?
Answer Posted / ravikiran
HashMap allows one null key and multiple null values
HashTable doesnn't allow nulls
HashMap is not synchronized
hashtable is synchronized
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
Explain the use of javap tool.
What is a char in java?
What is passing by reference in java?
What is literal example?
Is null function in java?
What is proper subset?
What is the difference between private & public & friendly classes?
What is the main purpose of java?
Detail discussions on JVM, memory management and garbage collector.
Tell us something about an iterator.
What is meant by data hiding in java?
What is the default value of the local variables?
Can sleep() method causes another thread to sleep?
What is navigable map in java?
What does the string method compareto () do?