what is the difference between HashMap And HashTable?
Answer Posted / raghu
HashMap only one null key and multiple values. Hashtable
doesn't allow null keys and values, it throws
NullPointerException. Both are not guarantee order. HashMap
is unsyncronized, whereas Hashtable is not.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
I don’t want my class to be inherited by any other class. What should I do?
How do you check if a number is a perfect square?
What is map in java?
Why is String immutable?
What is a two-pass assembler?
What is difference between static variable and global variable?
how can i use a nonsynchronized hashtable?
Discuss different types of errors that generally occur while programming.
When do we use synchronized blocks and advantages of using synchronized blocks?
What is the parse method in java?
Explain about data types?
What do you mean by platform independence of Java?
Is zero a natural number?
What is the exact difference in between Unicast and Multicast object?
which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com