Pregunta de entrevista de Cognizant

How to re-write sort method in Java?

Respuesta de la entrevista

Anónimo

1 mar 2019

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