下列哪个类声明是错误的?
A: class A
B: public class A
C: final class A
D: private class A
A: class A
B: public class A
C: final class A
D: private class A
举一反三
- 下列哪个类的声明是正确的?( ) A: class A B: class public A C: protected class A D: private class A
- 下列哪个类的声明是错误的?( ) A: final abstract class A B: final class A C: abstract class A D: class A
- 下列哪些类声明是错误的?() A: public<br/>class A B: protected<br/>class A C: private<br/>class A D: class A
- 下面哪个类声明是正确的( ) A: abstract final class A; B: abstract private move(); C: protected private number; D: public class B;
- 下列哪个类的声明是正确的?( ) A: abstract final class HI{} B: abstract private move(){} C: protected private number; D: public class Car{}