finally block in java

Поделиться
HTML-код
  • Опубликовано: 28 янв 2025

Комментарии • 10

  • @ashishtayade047
    @ashishtayade047 11 месяцев назад

    Thank you sir very nice gide & very nice best information finally block exception handling teaching video.👍

    • @SudhakarAtchala
      @SudhakarAtchala  11 месяцев назад

      Thanks and welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @avenger1898
    @avenger1898 3 месяца назад

    Rally Helpful Sir, Thank you .

    • @avenger1898
      @avenger1898 3 месяца назад

      Really Helpful Sir, Thank you .

    • @SudhakarAtchala
      @SudhakarAtchala  3 месяца назад

      You are most welcome. Please like the videos, subscribe to the channel, and share it with your friends. Thanks in advance.

  • @intothespace5297
    @intothespace5297 3 года назад +4

    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

    • @SudhakarAtchala
      @SudhakarAtchala  3 года назад +2

      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

    • @intothespace5297
      @intothespace5297 3 года назад

      Tq for u r quick response sir

  • @محمّد.09
    @محمّد.09 3 года назад +1

    Thanks sir

    • @SudhakarAtchala
      @SudhakarAtchala  3 года назад +1

      Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.