Vector输出问题
import java.util.Vector;public class VectorTest
{
public static void main(String[] args)
{
Vector vec = new Vector();
Student st = new Student("name","3232","dfew","");
vec.add(st);
for(int i = 0; i < vec.size(); i++)
{System.out.println(vec.get(i));}
}
}
输出的容易是:Student@c88440
晕。不知是地址还是代码。。。。。。