📜  finally over return 语句的重要性 - 无论代码示例

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

代码示例1
finally block is more important than return statement when both are present 
in a program. For example if there is any return statement present inside 
try or catch block , and finally block is also present first finally statement 
will be executed and then return statement will be considered.