What are the circumstances under which a finally {} block will NOT execute?

前端 未结 9 2043
没有蜡笔的小新
没有蜡笔的小新 2020-11-30 01:45

In a Java try{} ... catch{} ... finally{} block, code within the finally{} is generally considered \"guaranteed\" to run regardless of what occurs

9条回答
  •  半阙折子戏
    2020-11-30 02:34

    Infinite loop in the try block.

    Corrupt RAM? Program no longer runs as written? I've actually debugged that once on a DOS machine.

提交回复
热议问题