• 2022-06-16
    下列关于接口的定义哪项是正确的? A. interface C{int a;) B. public interface A implements B {) C. public interface A {int a(); ) D. abstract interface D {)
    A: interface C{int a;}
    B: public interface A implements B {}
    C: public interface A {int a(); }
    D: abstract interface D {}