我认为你的#3应该还是调Wind1的方法.

解决方案 »

  1.   

    #3处调用的是instrument的方法        这个好像有点问题啊简单的来说你的问题就是这样的Instrument test = new Wind_n();
                              test.play();// 就应该是调用wind_n的方法
    #3处调用的是wind1的方法      你不是弄个陷阱考人呢吧^^.        就是多态嘛:) 
      

  2.   

    Instrument hehe = ( Instrument )test;
      

  3.   

    那你说在这里,heha所用到的方法,是谁的方法?