62,614
社区成员
发帖
与我相关
我的任务
分享
A a;
static A b;
void af() {
a = new A();
b = a;
System.out.println(a == b);
a = null;
System.out.println(b == null);
}
public static void main(String[] args) {
new SimpleTest().af();
}
static class A {
String asd = ";";
}