Miglioria stampa
This commit is contained in:
@@ -59,7 +59,7 @@ public class Persona {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString(){
|
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);
|
+ "\n\tData di nascita: " + new SimpleDateFormat("dd/MM/yyyy").format(dataDiNascita);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user