Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package cl.boti;
- public class Cerveza {
- private int precio;
- private Botella botella;
- public Cerveza(int precio) {
- this.precio = precio;
- }
- public Cerveza() {
- }
- public int getPrecio() {
- return precio;
- }
- public void setPrecio(int precio) {
- this.precio = precio;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement