下列哪个类的声明是正确的?( )。
A: abstract private move(){} (这是定义方法的)
B: abstract final class HI{} (final代表常量,但是抽象类不能实例化)
C: public abstract class Car{}
D: protected private number; (不是定义类,且修饰符重复)
A: abstract private move(){} (这是定义方法的)
B: abstract final class HI{} (final代表常量,但是抽象类不能实例化)
C: public abstract class Car{}
D: protected private number; (不是定义类,且修饰符重复)
举一反三
- 下列哪个类声明是正确的 A: abstract final class HI{•••} B: abstract private move(){•••} C: protected private number{•••} D: public abstract class Car{•••}
- 下列哪个类的声明是正确的() A: abstract final class HI{} B: abstract private move(){} C: protected private number; D: public abstract class Car{}
- 下列哪个类的声明是正确的() A: abstract final class HI{} B: abstract private move(){} C: protected private number; D: public abstract class Car{}
- 下列哪个类的声明是正确的() A: abstract final class HI{} B: abstract private move(){} C: protected private number; D: public abstract class Car{}
- 下列类声明中,正确的是()。 A: abstract final class HI{···} B: abstract private move(){···} C: protected private number D: public abstract class Car{···}