是不是用
public Student(String name)
{
this("s", "");
}
生成了一个新的对象,然后句柄tom不再指向
Student tom = new Student("Tom");
转而指向新生成的这个对象?
是不是用
public Student(String name)
{
this("s", "");
}
生成了一个新的对象,然后句柄tom不再指向
Student tom = new Student("Tom");
转而指向新生成的这个对象?
2006-08-25 09:01
2006-08-25 09:14

2006-08-25 09:15
2006-08-28 15:24
2006-08-28 19:19