
Execution of return code when finally has its own return.
I have watched the below tutorial and I get that finally's return "shadows" try's or catch returns, but is their return ever run? Suppose a function returns a class instance, it doesn't throw any error, and both try and finally have a return with of an instance via new operator. Even though I understand that finally's return instance is the one returned, the question is how many instances will be created? 2 (of try + finally) or 1 (of finally)?