Suppose the call obj1.compareTo(obj2) returns 0.What can definitely be concluded from the return value?
i.obj1 and obj2 are the same object
II.obj1 and obj2 objects cannot be compared
III.the properties of obj1 and obj2 that are being compared have equal values
A) II only
B) III only
C) I only
D) I and III only
Correct Answer:
Verified
Q82: Which of the following statements correctly provides
Q83: What must be true about the return
Q84: Suppose a developer gets class XYZ files
Q85: Which of the following classes implement the
Q86: The _ class contains a sort method
Q88: Which of the following statements correctly specifies
Q89: The binarySearch method of the Collections class
Q90: Suppose you wish to implement the Comparable
Q91: If a call to the Arrays static
Q92: Suppose you wish to sort an array
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents