Interface的成員特點

類和接口間的各種關係

實現類其實是找乾爹的行為,親爹其實是object
interface MyInter{
}
class MyInterImpl implements MyInter{
public MyInterImpl(){
//默認
super();
//這邊的super其實是Object
}
}

類和接口間的各種關係

實現類其實是找乾爹的行為,親爹其實是object
interface MyInter{
}
class MyInterImpl implements MyInter{
public MyInterImpl(){
//默認
super();
//這邊的super其實是Object
}
}