單項(xiàng)選擇題

Which statement 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 members of a static inner class can be referenced using the class name of the static inner class.

題目列表

你可能感興趣的試題

微信掃碼免費(fèi)搜題