第四章初始化和清除 4.3(The fourth chapter initialization and removal 4.3).docVIP

  • 2
  • 0
  • 约1.01万字
  • 约 12页
  • 2017-10-07 发布于河南
  • 举报

第四章初始化和清除 4.3(The fourth chapter initialization and removal 4.3).doc

第四章初始化和清除 4.3(The fourth chapter initialization and removal 4.3)

第四章初始化和清除 4.3(The fourth chapter initialization and removal 4.3) 4.3 Cleanup: closeout and garbage collection What is the use of 4.3.1 finalize ()? 4.3.2 must perform cleanup 4.3 Cleanup: closeout and garbage collection Programmers know the importance of initialization, but they usually forget the importance of cleaning. After all, who needs to clean up a int? But for libraries, simply releasing an object after use is not always safe. Of course, Java can use garbage collectors to reclaim memory occupied by objects that are no longer in use. Now consider a very special and rare situation. Suppo

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档