接口:
1,所有实现了该接口的类看起来都像这样。因此,任何使用了该特定接口的类只需要知道该接口的方法即可。
2,接口是一种可以向上转型为多种基类的类型,可以实现类似多重继承的特性
3,接口的最小访问权限仅可以定义为默认权限

interface Instrument{void play();}//No interface expected here//abstract class Wind extends Instrument{}/*abstract class Wind implements Instrument{}*/interface Wind{void adjust();}interface Foo extends Instrument,Wind{}public class InstrumentApp {public static void main(String[] args) {}}
