试题详情
- 单项选择题Which statement is true?()
A、 An anonymous inner class may be declared as final.
B、 An anonymous inner class can be declared as private.
C、 An anonymous inner class can implement multiple interfaces.
D、 An anonymous inner class can access final variables in any enclosing scope.
E、 Construction of an instance of a static inner class requires an instance of the enclosing outer class.
- D
关注下方微信公众号,在线模考后查看
热门试题
- interface foo&
- Which three
- Assuming the&en
- 编写一个JavaApplet,使之能够在
- 在JAVA接口中可以定义()
- public class&e
- 1. public&ensp
- 11.public void genNu
- 关于C++/JAVA类中static 成
- 有这么一段程序: 请问以上程序执行的结
- ArraryList a&e
- 现有: class&ens
- What is th
- 在输入流的read方法返回哪个值的时候表
- interface Decl
- 现有 &ens
- public class&e
- What is th
- 以下关于应用程序主类的描述,哪项错误?(
- Which three&ens