public class Test {
private float f = 1.0;
int m = 12;
static int n=1;
public static void main(String arg[]) {
Test t = new Test();
// some code...
}
}
如下哪个使用是正确的?
A、 t.f
B、this.n
C、Test.m
D、Test.n
private float f = 1.0;
int m = 12;
static int n=1;
public static void main(String arg[]) {
Test t = new Test();
// some code...
}
}
如下哪个使用是正确的?
A、 t.f
B、this.n
C、Test.m
D、Test.n
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货