InterviewSolution
Saved Bookmarks
| 1. |
Is It Necessary That Each Try Block Must Be Followed By A Catch Block? |
|
Answer» No it is not mandatory that there should be a catch block after a TRY block. try block can have only a MATCHING FINALLY block. So there are these VALID combnations try-catch-finally, try-catch, try-finally. No it is not mandatory that there should be a catch block after a try block. try block can have only a matching finally block. So there are these valid combnations try-catch-finally, try-catch, try-finally. |
|