Beispiel #1
0
        private void Main01()
        {
            Animal an1 = new Dinosaur(6, 16, "male", 55);
            Animal an2 = new Rabbit(2, 6, "female", 25);

            Console.WriteLine(an1.Test());
            Console.WriteLine(an2.Test());
        }