Skip to content

Instantly share code, notes, and snippets.

Created August 22, 2019 23:29
What would you like to do?
package HolaMundoSpringBoot;
public class Mascota{
private final String nombre;
private final int edad;
public Mascota(String nombre, int edad){
this.nombre = nombre;
this.edad = edad;
public String getNombre(){
return this.nombre;
public int getEdad(){
return this.edad;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment