예제 #1
0
        static void Main(string[] args)
        {
            Dog puppy = new Puppy("Beethoven");

            Console.WriteLine(puppy.Voice());
            Console.WriteLine(puppy.Bite());
            Console.WriteLine(puppy.Jump());
            Console.WriteLine(puppy.Run());
            Console.ReadKey();
        }