Beispiel #1
0
        public static void Main()
        {
            Fulltime f = new Fulltime("liki", "gow", 50000);

            f.printsalary();
            //type casting to print hidden method
            ((employee)f).printname();
        }
        public static void Main()
        {
            Fulltime f = new Fulltime("liki", "gow", 50000);

            f.printsalary();
        }