예제 #1
0
파일: Number.cs 프로젝트: anytao/insidenet
        //Main_6_1_1
        public static void Main()
        {
            Number num = new Number();
            num.ShowNumber();
            IntNumber intNum = new IntNumber();
            intNum.ShowNumber();
            intNum.ShowInfo();

            Number number = new IntNumber();
            //����������˭��
            number.ShowInfo();
            //����������˭��
            number.ShowNumber();
        }
예제 #2
0
        public static void Main()//Main_6_1_1
        {
            Number num = new Number();

            num.ShowNumber();
            IntNumber intNum = new IntNumber();

            intNum.ShowNumber();
            intNum.ShowInfo();

            Number number = new IntNumber();

            //究竟调用了谁?
            number.ShowInfo();
            //究竟调用了谁?
            number.ShowNumber();
        }