Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created March 23, 2022 23:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/d1aa51c88f1e6ded1bef5ea0219bc509 to your computer and use it in GitHub Desktop.
Save parzibyte/d1aa51c88f1e6ded1bef5ea0219bc509 to your computer and use it in GitHub Desktop.
class Persona {
private String nombre, web;
private int edad;
public Persona(String nombre, String web, int edad) {
this.nombre = nombre;
this.web = web;
this.edad = edad;
}
public String getNombre() {
return nombre;
}
public void setNombre(String nombre) {
this.nombre = nombre;
}
public String getWeb() {
return web;
}
public void setWeb(String web) {
this.web = web;
}
public int getEdad() {
return edad;
}
public void setEdad(int edad) {
this.edad = edad;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment