题目内容

After the fire, the entire office was restricted, that is, only a few people could enter, for several days.

A. torn down
B. closed to the public
C. under repair
D. badly damaged

查看答案
更多问题

下列代码标注的(A,B,C,D)中哪一个是错误的?class OutClass {int m = 1;static float x;//Aclass InnerClass {int m =12;//Bstatic float n =20.89f; //CInnerClass(){}void f() {m = 100;}}void cry() {InnerClass tom = new InnerClass(); //D}}

A. static float x;
B. int m =12;
C. static float n =20.89f;
D. InnerClass tom = new InnerClass();

内部类的外嵌类的成员变量在内部类中仍然有效吗?回答有效或者无效______。

内部类中的方法也可以调用外嵌类中的方法吗?回答可以或者不可以_______。

内部类的类体中可以声明类变量和类方法吗?回答可以或者不可以_______。

答案查题题库