After finally executed in the end whether to execute or return before the return?

After retrun is finally statement is executed, executed before the return return, that finally will perform (of course, is based on the execution try)
basic types of no return finally to modify the return does not affect the result, with the retrun only will affect
finally to modify the list, map, set a reference time type, even if there is no return, but also the impact of results returned
----------------

Original link: https: //blog.csdn.net/u010651249/article/details/86352382

Released five original articles · won praise 0 · Views 174

Guess you like

Origin blog.csdn.net/qq_44813090/article/details/104090974