diff --git a/src/mybank/Persona.java b/src/mybank/Persona.java index 5269820..4c2fd8c 100644 --- a/src/mybank/Persona.java +++ b/src/mybank/Persona.java @@ -59,7 +59,7 @@ public class Persona { @Override public String toString(){ - return "\tNome: " + this.nome + "\n\tCognome: " + this.cognome + "\n\tCodice fiscale: " + this.codiceFiscale + return "\n\tNome: " + this.nome + "\n\tCognome: " + this.cognome + "\n\tCodice fiscale: " + this.codiceFiscale + "\n\tData di nascita: " + new SimpleDateFormat("dd/MM/yyyy").format(dataDiNascita); } } \ No newline at end of file