单项选择题
Which thefollowingstatements about static inner classes is true?()
A. An anonymous class can be declared as static.
B. A static inner class cannot be a static member of the outer class.
C. A static inner class does not require an instance of the enclosing class.
D. Instance member of a static inner class can be referenced using the class name of the staticinner class.
点击查看答案
相关考题
- 多项选择题 Whichthe following twostatementsaretrue?()
- 多项选择题 UnderwhattwocircumstancesisthesetJspBodymethodNOTcalledinatagclassthatimplementstheSimpleTaginterface?()
- 单项选择题 WhichHTTPmethodrepresentsarequestforinformationaboutthesupportedmethodsonanHTTPserver?()
- 单项选择题 Which statement inserted at line II, retrieves the text from the second text field?()
- 单项选择题 Which retrieves the binary input stream on line 13?()
- 单项选择题 GivenanHttpServletRequestrequestandHttpServletResponseresponse,whichsetsacookie“username”withthevalue“joe”inaservlet.?()
- 单项选择题 Which statement. At line 16, retrieves an Input Stream for the file / WEBINF/myresrc.bin?()
- 多项选择题 Which two are true about the tag handler referneed by my Tag. ()
- 单项选择题 What is the result?()
- 单项选择题 What is the result?()
- 多项选择题 Whichfourtypesofobjectcanbethrownusingthethrowstatement?()
- 单项选择题 What is the result?()
- 单项选择题 Which statement at Point X on line 1 allows this code to compile and run?()
- 单项选择题 What is the Result?()
- 单项选择题 What is the value of b bat line 5()?
- 单项选择题 What is the result?()
- 单项选择题 Which statement is true()?
- 单项选择题 What is the result()?
- 单项选择题 What is the result?()
- 单项选择题 1. class A { 2. public byte file Number () { 3. return l; 4. } 5. } 6. 7. Class B extends A { 8. public short getNumber() { 9. return 2; 10. } 11. 12. public short getNumber() { 13. B b = new B(); 14. System.out.printIn(b.getNumber()); 15. } 16. } What is the result()?