日期:2014-05-20 浏览次数:20731 次
import java.util.*; public class CrashJava { public String toString() { return "CrashJava Address: " + this + "\n"; } public static void main(String[] args) { Vector v = new Vector(); for(int i = 0; i < 10; i++) { v.addElement(new CrashJava()); } System.out.println(v); } }