• 2022-06-06
    1、以下接口定义,正确的是()。
    A: interface A {void print(){};}
    B: abstract interface A {void print();}
    C: abstract interface A extends J1, J2{ //J1、J2是已定义的接口abstract void print(){};}
    D: interface A {void print();}