Exemplo n.º 1
0
        static void Main(string[] args)
        {
            Coffee cup = new Coffee();

            cup.pourCoffee();

            Egg eggs = new Egg();

            eggs.fryEggs();

            Bacon bacon = new Bacon();

            bacon.fryBacon();

            Toast  toast        = new Toast();
            String prepareToast = toast.toastBread();

            toast.applyButter(prepareToast);
            toast.applyJam(prepareToast);
            Console.WriteLine("toast is ready");
            Juice oj = new Juice();

            oj.pourJuice();
            Console.WriteLine("Breakfast is ready!");
        }