下列哪个类的声明是错误的()
A: public
class Jaa{}
B: final
class Jaa{}
C: abstract
class Jaa{}
D: protected
class Jaa{}
A: public
class Jaa{}
B: final
class Jaa{}
C: abstract
class Jaa{}
D: protected
class Jaa{}
举一反三
- 下列哪个类声明是正确的() A: public<br/>abstract class Car{…} B: abstract<br/>private move( ){…} C: protected<br/>private number; D: abstract<br/>final class H1{…}
- 下面哪个对类的声明是错误的?() A: public class A{<br/>} B: final class A{ } C: class A<br/>extends B, C { } D: abstract class A<br/>implements B, C { }
- 下列哪些类声明是错误的?() A: public<br/>class A B: protected<br/>class A C: private<br/>class A D: class A
- 以下抽象类的定义中,错误的是 A: abstract class Demo1{} B: abstract class Demo2{<br>public abstract String fun(String a);<br>} C: abstract class Demo3{<br>public String fun(){<br>return "dlvtc";<br>}<br>} D: abstract class Demo4{<br>public static final String str= "dlvtc";<br>abstract void fun(){}<br>}
- 下列( )类声明是错误的。 A: class A B: public class A C: abstract class A D: protected class A