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


Please Help Members By Posting Answers For Below Questions

What do you mean by local class?

511


How to write custom exception in java?

599


What is final class?

571


why using interface interface ?

1505


Which language is java?

542






Which is best ide for java?

519


Explain the significance of class loaders in bootstrap?

497


What data type is string java?

535


What is a cup of java?

555


How can a gui component handle its own events in java programming?

527


State some advantages of java?

711


Why is a singleton bad?

553


Can a static method be final?

548


Why is it called a string?

561


What is bigger kb or mb?

583