Sir even if we write directly the code which is inside the finally block then also it is executed ,if there is an exception handled or not then what is purpose of finally sir
Sometimes we need to execute some statements irrespective of exception or not. Best example is in jdbc we have to write code for data base establishment in code. That code can be placed in finally block. Lik wise plenty of advantages are there
Thank you sir very nice gide & very nice best information finally block exception handling teaching video.👍
Thanks and welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
Rally Helpful Sir, Thank you .
Really Helpful Sir, Thank you .
You are most welcome. Please like the videos, subscribe to the channel, and share it with your friends. Thanks in advance.
Sir even if we write directly the code which is inside the finally block then also it is executed ,if there is an exception handled or not then what is purpose of finally sir
Sometimes we need to execute some statements irrespective of exception or not. Best example is in jdbc we have to write code for data base establishment in code. That code can be placed in finally block. Lik wise plenty of advantages are there
Tq for u r quick response sir
Thanks sir
Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.