题目:
答案:
1.
2.先定义一个a接口
public interface a { //定义接口
public void hello();
public void work();
}
3.先fbq定义IFather接口和IMother接口
public interface IFather {//定义接口
void smoking();
void goFishing();
}
public interface IMother {//定义接口
void watchTV();
void cooking();
}