Question 6 0 out of 0.75 points In main() we define a dataBase as below: Hashtab
ID: 3863909 • Letter: Q
Question
Question 6
0 out of 0.75 points
In main() we define a dataBase as below:
Hashtable <String, Listing> dataBase = new Hashtable<String, Listing> ();
Which one is correct?
B.)dataBase is Hashtable data structure that will accept a Node with the data type is a String and the keyfield is the object of Listing (Wrong)
other answer choices A) dataBase is Hashtable data structure that will accept 2 types of Nodes, one is a string and one is the object of Listing
C) dataBase is Hashtable can accpt all types of node except String and Listing
D)dataBase is Hashtable data structure that will accept the node with the data type is Listing and keyfield is a String
In main() we define a dataBase as below:
Hashtable <String, Listing> dataBase = new Hashtable<String, Listing> ();
Which one is correct?
Selected Answer:B.)dataBase is Hashtable data structure that will accept a Node with the data type is a String and the keyfield is the object of Listing (Wrong)
other answer choices A) dataBase is Hashtable data structure that will accept 2 types of Nodes, one is a string and one is the object of Listing
C) dataBase is Hashtable can accpt all types of node except String and Listing
D)dataBase is Hashtable data structure that will accept the node with the data type is Listing and keyfield is a String
Explanation / Answer
D) dataBase is Hashtable data structure that will accept the node with the data type is Listing and keyfield is a String
is Correct because Keyfield is String and Value is Node with the data Type Listing.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.