Topic: 用什么方法finalize( )一定会被调用

  Print this page

1.用什么方法finalize( )一定会被调用 Copy to clipboard
Posted by: lisycn
Posted on: 2005-08-01 21:59

System.runFinalization()强迫启动但没有调用finalize( )

2.Re:用什么方法finalize( )一定会被调用 [Re: lisycn] Copy to clipboard
Posted by: ranchgirl
Posted on: 2005-08-02 10:41

Read here in details

JLS
12.6 Finalization of Class Instances

http://java.sun.com/docs/books/jls/third_edition/html/execution.html#12.6


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923