• 2022-06-06
    以下接口定义错误的是( )。
    A: interface Flyer { void fly();}
    B: interface Flyer extends F1 { void fly();}//F1是已定义的接口
    C: interface Flyer extends F1, F2 { abstract void fly();}//F1、F2为已定义的接口
    D: interface Flyer { void print(){ };}