62,614
社区成员
发帖
与我相关
我的任务
分享
public class A
{
static int t= 6;
Object obj= new Object();
public static void main(String args[])
{
A a= new A();
a.func(a.t,a.obj);
System.out.println(t);
}
public void func(int t,Object obj)
{
t=7;
obj=null;
}
}