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
What is the use of parse function in java?
When is finally block not called?
How we can skip finally block of exception even if some exception occurs in the exception block in java?
Where will it be used?
What is the main purpose of java?
What is main difference between variable and constant?
Define a java class.
Can variables be used in java without initialization?
What is finally in Java?
Which arithmetic operations can result in the throwing of an arithmeticexception?
Is it necessary that each try block must be followed by a catch block?
what is a thread pool in java and why is it used?
Does java initialize arrays to zero?
What is the loop in java?
How many bytes is a string java?