final double weight;
finally { try { fis.close(); } catch (IOException e) { e.printStackTrace(); } }
class Person2{ protected void finalize() throws Throwable{ System.out.println("即将被销毁!"); //建议启动垃圾回收器(启动概率变大) System.gc(); } }