Which of the following is false ?<br/><br/> a. HashMap came before HashTable.<br/> b. HashMap allows null values whereas Hashtable doesn’t allow null values.<br/> c. HashTable and HashMap allow Key-Value pairs.<br/> d. Hashtable is synchronized whereas HashMap is not.<br/>
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Interview Questions and Answers

 Q1. Which of the following is false ?

a. HashMap came before HashTable.
b. HashMap allows null values whereas Hashtable doesn’t allow null values.
c. HashTable and HashMap allow Key-Value pairs.
d. Hashtable is synchronized whereas HashMap is not.
Ans. HashMap came before HashTable.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     map   hashmap   hashtable   collection   java

Try 2 Question(s) Test


Related Questions

  Does garbage collection guarantee that a program will not run out of memory?
  Why Char array is preferred over String for storing password?
  What is the difference between ArrayList and LinkedList ?
 If you are given a choice to use either ArrayList and LinkedList, Which one would you use and Why ?
  Difference between HashMap and Hashtable?
  Describe, in general, how java's garbage collector works ?
  Difference between TreeMap and HashMap ?
  Can you provide some implementation of a Dictionary having large number of words ?
  Will this code give error if i try to add two heterogeneous elements in the arraylist. ? and Why ?
 Let's suppose we have an to destroy objects, Design a program to implement garbage collection ?



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: