1. 已知如下类说明: public class Test{
private float f = 1.0;
int m= 12;
static int n = 1;
public static void main(String []args){
Test t = new Test();
t.f;
}
}
a. t.f b. Test.n c.this.n d. Test.m
编译就报那个错
...全文
5085打赏收藏
为什么都不对 全是not a statement?
1. 已知如下类说明: public class Test{ private float f = 1.0; int m= 12; static int n = 1; public static void main(String []args){ Test t = new Test(); t.f; } } a. t.f b. Test.n c.this.n d. Test.m 编译就报那个错