posted 6 years ago
This is the code: I understand that the finally block will always execute (except when there is a System.exit() in try or catch); it will return 10.0. I do not understand why it does not return 0.0 too. I think first it returns 0.0 after it returns 10.0; but that is not true. What happens whith the try block?