public class Drink implements MenuItemIntf { private String desc; private int id; private float price; private float cost; private int size; private int available; public Drink(int id, String desc, float price, float cost, int size, int q) { this.id=id; this.desc=desc; this.price=price; this.cost=cost; this.size=size; this.available=q; } @Override public int getId() { return this.id; } @Override public String getDescription() { return this.desc; } @Override public float getPrice() { return this.price; } @Override public float getCost() { return this.cost; } @Override public int getType() { return 1; } @Override public int getCount() { return this.available; } @Override public int changeCount(int changeBy) { this.available += changeBy; return this.available; } @Override public String toString() { return this.desc + "-" + this.size + "ml Remain:"+this.available; } }