in Education by
Which of these is the interface of legacy is implemented by Hashtable and Dictionary classes? (a) Map (b) Enumeration (c) HashMap (d) Hashtable I have been asked this question in an interview. My question comes from Java.util in portion java.util – The Collections Framework of Java Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Right choice is (a) Map For explanation: Dictionary, Map & Hashtable all implement Map interface hence all of them uses keys to store value in the object.

Related questions

0 votes
    Which of these is the interface of legacy is implemented by Hashtable and Dictionary classes? (a) Map (b ... questions and answers pdf, java interview questions for beginners...
asked Oct 25, 2021 in Education by JackTerrance
0 votes
    Which of these are legacy classes? (a) Stack (b) Hashtable (c) Vector (d) All of the mentioned I ... The Collections Framework of Java Select the correct answer from above options...
asked Mar 1, 2022 in Education by JackTerrance
0 votes
    Which of these is the interface of legacy? (a) Map (b) Enumeration (c) HashMap (d) Hashtable I had ... Collections Framework of Java Select the correct answer from above options...
asked Mar 1, 2022 in Education by JackTerrance
0 votes
    Which of these classes implements Set interface? (a) ArrayList (b) HashSet (c) LinkedList (d) DynamicList I ... Framework of Java Select the correct answer from above options...
asked Mar 1, 2022 in Education by JackTerrance
0 votes
    Which of these classes provide implementation of map interface? (a) ArrayList (b) HashMap (c) LinkedList (d) ... Framework of Java Select the correct answer from above options...
asked Mar 1, 2022 in Education by JackTerrance
0 votes
    Which of these interfaces is implemented by TimerTask class? (a) Runnable (b) Thread (c) Observer (d) ... Utility Classes of Java Select the correct answer from above options...
asked Feb 23, 2022 in Education by JackTerrance
0 votes
    Which of these standard collection classes implements a linked list data structure? (a) AbstractList (b) LinkedList ... of Java Select the correct answer from above options...
asked Mar 1, 2022 in Education by JackTerrance
0 votes
    Which of these packages contain all the collection classes? (a) java.lang (b) java.util (c) java.net ... Collections Framework of Java Select the correct answer from above options...
asked Mar 1, 2022 in Education by JackTerrance
0 votes
    Which of these classes is not part of Java's collection framework? (a) Maps (b) Array (c) Stack (d ... Collections Framework of Java Select the correct answer from above options...
asked Mar 1, 2022 in Education by JackTerrance
0 votes
    Which of these standard collection classes implements all the standard functions on list data structure? (a) Array ... of Java Select the correct answer from above options...
asked Mar 1, 2022 in Education by JackTerrance
0 votes
    Which of these classes can schedule task for execution in future? (a) Thread (b) Timer (c) System (d) ... More Utility Classes of Java Select the correct answer from above options...
asked Feb 23, 2022 in Education by JackTerrance
0 votes
    Which of these interface declares core method that all collections will have? (a) set (b) EventListner (c) ... Framework of Java Select the correct answer from above options...
asked Mar 1, 2022 in Education by JackTerrance
0 votes
    Which of these interface handle sequences? (a) Set (b) List (c) Comparator (d) Collection The question ... Framework of Java Select the correct answer from above options...
asked Mar 1, 2022 in Education by JackTerrance
0 votes
    Which of these is a Basic interface that all other interface inherits? (a) Set (b) Array (c) List (d ... Collections Framework of Java Select the correct answer from above options...
asked Mar 1, 2022 in Education by JackTerrance
0 votes
    Which of the below is not an implementation of List interface? (a) RoleUnresolvedList (b) Stack (c) AttibuteList ... Framework of Java Select the correct answer from above options...
asked Mar 1, 2022 in Education by JackTerrance
...