codice:
...
if(a.getBalance() > largestYet.getBalance())
...
largestYet vale null, non l'hai mai inizializzato!