Is there any way to skip Finally block of exception even if some exception occurs in the exception block?
Answers
Answered by
3
Step-by-step explanation:
༒ ༒
- The finally block follows a try block or a catch block. ... You cannot skip the execution of the final block. Still if you want to do it forcefully when an exception occurred, the only way is to call the System. exit(0) method, at the end of the catch block which is just before the finally block
Answered by
2
Answer:
your answer Thor di
Step-by-step explanation:
The finally block follows a try block or a catch block. ... You cannot skip the execution of the final block. Still if you want to do it forcefully when an exception occurred, the only way is to call the System. exit(0) method, at the end of the catch block which is just before the finally block.
Similar questions