📜  finally 块不会被执行的地方 - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:10.683000             🧑  作者: Mango

代码示例1
Finally block will not be executed whenever jvm shutdowns. 
If we use system.exit(0) in try statement finally block if present 
will not be executed.