Select from following answers:- try catch finally
- try catch catch finally
- try finally
- try catch catch catch finally
- All Above

All above four are correct. We can keep try catch finally or there can be more than one catch block with different exceptions.
If we are implementing the error handling/catching error mecahnism in calling function we can write simple try finally block without write catch block,
Show Correct Answer
Asked In: Many interviews |
Alert Moderator