Given: public abstract interface Frobnicate { public void twiddle(String s); } Which is a correct class?
A、publicabstractclassFrobimplementsFrobnicate{
publicabstractvoidtwiddle(Strings){}
};
B、publicabstractclassFrobimplementsFrobnicate{};
C、publicclassFrobextendsFrobnicate{
publicvoidtwiddle(Integeri){}
};
D、publicclassFrobimplementsFrobnicate{
publicvoidtwiddle(Integeri){}
}
发布时间:2024-07-03 14:02:22