Example #1
0
        static void Main(string[] args)
        {
            Dog   dog   = new Dog();
            Puppy puppy = new Puppy();

            dog.Bark();
            puppy.Bark();
        }
Example #2
0
        static void Main(string[] args)
        {
            Puppy puppy = new Puppy();

            puppy.Eat();
            puppy.Bark();
            puppy.Weep();
        }
Example #3
0
        static void Main(string[] args)
        {
            Puppy puppy = new Puppy();

            puppy.Eat();
            puppy.Bark();
            puppy.Weep();

            Console.ReadLine();
        }