单项选择题
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?()
A. An inner class may be declared as static.
B. An anonymous inner class can be declared as public.
C. An anonymous inner class can be declared as private.
D. An anonymous inner class can extend an abstract class.
E. An anonymous inner class can be declared as protected. -
多项选择题
UnderwhattwocircumstancesisthesetJspBodymethodNOTcalledinatagclassthatimplementstheSimpleTaginterface?()
A. The tag is invoked without a body.
B. The doTAb method throws an exception.
C. Theelement has the value empty.
D. The tag is called with the attribute skip-body=true -
单项选择题
WhichHTTPmethodrepresentsarequestforinformationaboutthesupportedmethodsonanHTTPserver?()
A. GET
B. INFO
C. HEAD
D. TRACE
E. OPTIONS
