摘要:
参考: think in java//定义一个接口interfaceIncrementable...{voidincrement();}//一个简单的接口实现类classCallee1implementsIncrementable...{privateinti=0;publicvoidincrement()...{i++;System.out.println(i);}}classMyIncrement...{voidincrement()...{System.out.println("otheroperator");}staticvoidf(MyIncrementmi).. 阅读全文