【单选题】下列代码片段,哪个类声明是正确的( )。
A: abstract private Car{…}
B: abstract final class Car{···}
C: abstract private Car(){···}
D: public abstract class Car{···}
A: abstract private Car{…}
B: abstract final class Car{···}
C: abstract private Car(){···}
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 Plant { } B: abstract private Sea() { } 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{}