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
What is immutable data?
What is replacefirst in java?
What is a null check?
Can singleton class be inherited in java?
What kind of variables a class can consist of?
What do you know about java?
What is a dot notation?
What is the use of 'super' keyword inside a constructor?
Write a program based on Java script program.
Differentiate between a class and an object.
Explain the different forms of polymorphism?
What is an interoperable application in java ?
Can we use a switch statement with strings?
What isan abstract class and when do you use it?
Can we pass null as argument in java?