Suppose we want to store JellyBean objects. Which of the following require JellyBean to implement the Comparable

Question:

Suppose we want to store JellyBean objects. Which of the following require JellyBean to implement the Comparable interface or create a Comparator to add them to the collection? (Choose two.) 

A. ArrayList

B. HashMap

C. HashSet

D. SortedArray

E. TreeMap

F. TreeSet

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: