摘要:
首先看一段程序:class RubbishRelease {public void finalize() { System.out.println("the Object is going...");}public static void main(String[] args) { new RubbishRelease(); new RubbishRelease(); new RubbishRelease(); System.gc(); System.out.println("The program is over!");}}当我们运行以上程序段后,可以 阅读全文
posted @ 2012-10-30 10:03
笑rpp
阅读(1495)
评论(0)
推荐(0)

浙公网安备 33010602011771号