// to model student fridge with limited selection
public class Fridge {

    //  adds a whole case of beer
    public void buyBeer() {
        beer = beer + 12;
    }

    // stocks Fridge with lots of groceries
    public void bigShop() {
        burgers = burgers + 6;
        apples = apples + 6;
    }


    //  stocks just a few items
    public void quickShop() {
        burgers = burgers + 1;
        apples = apples + 2;
    }

    
    // drinks one beer 
    public void drink() {
        beer = beer - 1;
    }

    
    // eats enough food for one meal
    public void eatMeal() {
        drink();
        burgers = burgers - 2;
        apples = apples - 1;
    }


    // eats a bit of food
    public void eatSnack() {
        apples = apples - 1;
    }


    // return myself as a String
    public String toString() {
        return "Your fridge contains "+ burgers 
            + " burgers, "+ apples +" apples and "
            + beer + " beers.";
    }

    private int beer;
    private int burgers;
    private int apples;

} 

