Exemplo n.º 1
0
        public static void Main()
        {
            EngStudent e1 = new EngStudent();
            e1.accept();

            MedStudent m1 = new MedStudent();
            m1.accept();

            Console.WriteLine(e1);
            Console.WriteLine(m1);
            Console.ReadLine();
        }
Exemplo n.º 2
0
        public static void Main()
        {
            EngStudent e1 = new EngStudent();
            e1.accept();

            MedStudent m1 = new MedStudent();
            m1.accept();

            e1.display();
            m1.display();
            Console.ReadLine();
        }
Exemplo n.º 3
0
        public static void Main()
        {
            EngStudent e1 = new EngStudent();

            e1.accept();

            MedStudent m1 = new MedStudent();

            m1.accept();

            e1.display();
            m1.display();
            Console.ReadLine();
        }
Exemplo n.º 4
0
        public static void Main()
        {
            EngStudent e1 = new EngStudent();

            e1.accept();

            MedStudent m1 = new MedStudent();

            m1.accept();

            Console.WriteLine(e1);
            Console.WriteLine(m1);
            Console.ReadLine();
        }