Skip to content

Instantly share code, notes, and snippets.

Created September 2, 2019 17:54
What would you like to do?
class Producto {
private String codigo, nombre;
private float precio;
public Producto() {
public Producto(String codigo, String nombre, float precio) {
this.codigo = codigo;
this.nombre = nombre;
this.precio = precio;
public String getCodigo() {
return codigo;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment