In this video I'm using two classes:
A Racer class, with four attributes. The important ones are the minutes and seconds. This attributes are used to store the time spent for the race.
The Race class has an ArrayList that contains all the racers. The objective is to show how we can order this ArrayList by the minutes and the seconds spent.
In questa pagina del sito puoi guardare il video online How to sort by two fields in Java using Comparable interface della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Miquel Boada Artigas 11 aprile 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 528 volte e gli è piaciuto 4 spettatori. Buona visione!