Concept Flow - Finally block
Start try block
Execute try code
Exception?
Yes→Catch block executes
Catch code runs
Try code ends
Catch ends
Finally block runs regardless
Program continues
The finally block runs after try and catch blocks, no matter if an exception happened or not.