Multiple Choice
To create a TreeSet for a class of objects, the object class must ____.
A) implement the Set interface.
B) implement the Comparable interface.
C) create an iterator.
D) create a Comparator object.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q84: The ArrayList class implements the _ interface.<br>A)Stack<br>B)Queue<br>C)List<br>D)Set
Q85: Which data structure would best be used
Q86: Which method is NOT part of the
Q87: Assume that you have declared a stack
Q88: Which of the following statements about manipulating
Q90: You need to access values by an
Q91: When using a list iterator, on which
Q92: A _ is a data structure used
Q93: Consider the following code snippet: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB7392/.jpg"
Q94: You want to enumerate all of the