下面哪个对类的声明是错误的?()
A: public class A{
}
B: final class A{ }
C: class A
extends B, C { }
D: abstract class A
implements B, C { }
A: public class A{
}
B: final class A{ }
C: class A
extends B, C { }
D: abstract class A
implements B, C { }
举一反三
- 下面哪个对类的声明是错误的?( ) A: public class A{ } B: final class A { } C: abstract class A implements D, E { } D: class A extends B, C { }
- 下列哪个类的声明是错误的() A: public<br/>class Jaa{} B: final<br/>class Jaa{} C: abstract<br/>class Jaa{} D: protected<br/>class Jaa{}
- 下列哪个类声明是正确的 ( ) A: abstract class G2 extends superClass1,superClass2{...} B: abstract public class classmates{...} C: public final class NewClass extends superClass implemnets Interface1{...} D: public abstract class String{...}
- 下列哪个类声明是正确的() A: public<br/>abstract class Car{…} B: abstract<br/>private move( ){…} C: protected<br/>private number; D: abstract<br/>final class H1{…}
- 下列哪个类声明是正确的 ( ) A: A) abstract class G2 extends superClass1, superClass2 … B: B) abstract public class classmates… C: C) public final class NewClass extends superClass implemnets Interfacel… D: D) public abstract class String…