下列哪个是声明类必须使用的关键字:
A: private
B: protected
C: class
D: public
A: private
B: protected
C: class
D: public
举一反三
- 下列哪个类的声明是正确的?( ) A: class A B: class public A C: protected class A D: private class A
- 下列哪个类的声明是正确的?( ) A: abstract final class HI{} B: abstract private move(){} C: protected private number; D: public class Car{}
- 下列哪个类的声明是正确的?( ) A: abstract final class HI{} B: abstract private move(){} C: protected private number; D: public class Car{}
- 下列哪个类的声明是正确的?( ) A: abstract final class HI{} B: abstract private move(){} C: protected private number; D: public class Car{}
- 下列哪个类声明是正确的 A: abstract final class HI{•••} B: abstract private move(){•••} C: protected private number{•••} D: public abstract class Car{•••}