Home / Programming MCQs / JAVA MCQs / Question

R

Ram Sharma • 188.81K Points
Coach

Q. Which of the following methods are present in comparator interface?

(A) compare()
(B) equate()
(C) isEqual()
(D) All of these
Explanation by: Team MCQ Buddy
The comparator interface contains the following two methods,

compare()
equals()

You must be Logged in to update hint/solution

Discusssion

Login to discuss.