Abstract method cannot be static. True or False
举一反三
- Abstract method cannot be static. True or False ? A: True B: False C: D:
- abstract的method可以同时是static。
- 下列方法中,属于抽象方法的是( )。 A: final void method(){…} B: static void method(){…} C: abstract void method(){…} D: abstract void method();
- abstract的method可以同时是static。 A: 正确 B: 错误
- Which of the following is false? ( ) A: A static method must be used to access private static instance variables. B: A static method can be accessed even when no objects of its class have been instantiated. C: A static method has no this reference. D: A static method can call instance methods directly.