Java继承与多态问题.
class Instrruement{ public void play(){ System.out.println(”Instrruement play“); } static void tune(Instrruement i){ i.play(); }}Class Grasp{ public void play(){ System.out.println(”Grasp play“);public void main(String[] args) Instrruement flu=new Grasp(); Instrruement.tune(flu);}