Important Java Mcq 1

Which interface should be implemented for sorting on the basis of many criteria?

a) Comparator
b) Comparable
c) Serializable
d) None of the above

Answer:

a) Comparator

Related MCQs
Aniket Malik

Aniket Malik

CERTIFIED TUTOR/TRAINER WITH 300+ REVIEWS

Facing difficulty with

this concept?