public interface Almacen
Modifier and Type | Method and Description |
---|---|
void |
almacenar(Producto producto)
Almacena (como último) un producto en el almacén.
|
Producto |
extraer()
Extrae el primer producto disponible.
|
void almacenar(Producto producto)
Producto extraer()