Exemplo n.º 1
0
        static void Main(string[] args)
        {
            Person person = new Person("Jono", 16);

            person.GetNameAndAge();

            Teacher teacher = new Teacher("Joni", 33, "191100", "Computer Networking");

            teacher.GetNameAndAge();

            Student student = new Student("Dimas Aldi Sanjaya", 18, "19.11.2745", "*****@*****.**");

            student.GetNameAndAge();

            Console.ReadKey();
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            Person person = new Person("Mike", 20);

            person.GetNameAndAge();

            Teacher teacher = new Teacher("Thomas", 35, "190302", "Math");

            teacher.GetNameAndAge();

            Student student = new Student("Sara", 19, "10506", "*****@*****.**");

            student.GetNameAndAge();

            Console.ReadKey();
        }
Exemplo n.º 3
0
        static void Main(string[] args)
        {
            Person person = new Person("Bagong", 39);

            person.GetNameAndAge();

            Teacher teacher = new Teacher("Jerry", 35, "98765", "English");

            teacher.GetNameAndAge();

            Student student = new Student("Sampho", 16, "123456", "*****@*****.**");

            student.GetNameAndAge();

            Console.ReadKey();
        }
Exemplo n.º 4
0
        static void Main(string[] args)
        {
            Person person = new Person("Jono", 16);

            person.GetNameAndAge();

            Teacher teacher = new Teacher("Joni", 33, "191100", "Computer Networking");

            teacher.GetNameAndAge();

            Student student = new Student("Umi Solihah", 18, "19.11.2747", "*****@*****.**");

            student.GetNameAndAge();

            Console.ReadKey();
        }
Exemplo n.º 5
0
        static void Main(string[] args)
        {
            Person person = new Person("Jono", 16);

            person.GetNameAndAge();

            Teacher teacher = new Teacher("Joni", 33, "191100", "Computer Networking");

            teacher.GetNameAndAge();

            Student student = new Student("Roaina Alfiyan Naja", 20, "19.11.2744", "*****@*****.**");

            student.GetNameAndAge();

            Console.ReadKey();
        }
Exemplo n.º 6
0
        static void Main(string[] args)
        {
            Person person = new Person("Jono", 16);

            person.GetNameAndAge();

            Teacher teacher = new Teacher("Joni", 33, "191100", "Computer Networking");

            teacher.GetNameAndAge();

            Student student = new Student("Habibi", 21, "19.11.2769", "*****@*****.**");

            student.GetNameAndAge();

            Console.ReadKey();
        }