Interface的成員特點

image.png

類和接口間的各種關係

image.png

實現類其實是找乾爹的行為,親爹其實是object


interface MyInter{

}

class MyInterImpl implements MyInter{ 
	public MyInterImpl(){
		//默認
		super();
		//這邊的super其實是Object
	}
}