public class Test
{
static Test m1(Test temp)
{
temp = new Test();
return temp;
}
public static void main(String [] args)
{
Test t1 = new Test();
Test t2 = m1(t1);
Test t3 = new Test();
t2 = t3;
}
}