Domanda di colloquio di Cognizant

How to re-write sort method in Java?

Risposta di colloquio

Anonimo

1 mar 2019

Implement the Comparator interface and rewrite the compare method inside the object.