Concept Flow - Try-catch execution flow
Start try block
Execute code inside try
Exception thrown?
No→Exit try-catch
Yes
Jump to catch block
Execute catch block
Exit try-catch
The program tries to run code inside the try block. If an error happens, it jumps to the catch block to handle it. Otherwise, it skips catch and continues.