public class Persona {
  private String nome, cognome;
  
  public Persona(String n, String c) {
    this.nome = n;
    this.cognome = c;
  }
  
  public String toString() {
    return (this.nome + this.cognome);
  }
}