Exception Handling Interview questions and answers in Java | Part -1 | Code Decode

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

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

  • @reddaboinavasista4166
    @reddaboinavasista4166 Год назад +4

    Very Underrated youtuber. Deserves more subscribers.

  • @aasimahsan6167
    @aasimahsan6167 Год назад +5

    great explanation cleared all the doubt and also gained confidence

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

    Your explanation is amazing...to the point...understandable...keep making such videos...😊

    • @CodeDecode
      @CodeDecode  2 года назад

      Thanks a lot Sandhya 🙂👍

  • @prisha1729
    @prisha1729 4 года назад +6

    Please upload videos on advance exception handling and try with reassures as well. Your videos are great for interview preps. Thanks

  • @Hare_Krishna143
    @Hare_Krishna143 2 года назад +2

    Such helpful content!!! Appreciate

    • @CodeDecode
      @CodeDecode  2 года назад +1

      Thanks for the nice words Manoj

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

    very nice and awesone explanation.👌👌👌....keep doing more n more videos like this mam.....hatsoff to u...

  • @meenalkhot83
    @meenalkhot83 Месяц назад +1

    Good explanation

  • @chenchaiahmalli6234
    @chenchaiahmalli6234 4 года назад +1

    Very nice and clear explanation Mam...Its very helpful...Keep it up.

  • @luckyyadav5540
    @luckyyadav5540 4 года назад +1

    very nice Discuss

  • @divsmultiverse
    @divsmultiverse 2 года назад +5

    Hello Mam, You made Java Developer's life easy,, Thank you so much for your dedication towards Java Developer ✌️🙏🏻.. God Bless you 😊

    • @CodeDecode
      @CodeDecode  2 года назад +1

      ❤❤Thanks a lot 🙂

  • @ayushman_19
    @ayushman_19 Год назад +2

    Please continue this exception handling series

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

    Wonderful video mam 🤩🤩🤩🤩🤩. Mam plz do intermediate exception handling questions
    too.

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

      Sure Sneha, we will do that👍👍

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

    You are really doing a great job

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

    Nice and easy explanation Thanks ma'am

  • @parthec1
    @parthec1 2 года назад +1

    thanks for informative video,,

  • @rudrarajusowmya8943
    @rudrarajusowmya8943 3 года назад +7

    Firstly thanks for this tutorial. Can you cover the Intermediate and Advance level of questions also. It will be helpful

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

      Sure Sowmya, we will do that👍👍

    • @nehaladva256
      @nehaladva256 2 года назад

      please provide video link for Intermediate and Advance level of questions

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

    Explained very nicely

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

    Explanation is very good and please upload advanced exception handling questions

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

    Many thanks for making such wonderful videos and this really help people to Crack an interview. Please make videos on exception handing with real time scenarios along with garbage collector.

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

      Sure, nice topic. We will create videos on that too soon 👍👍

  • @praveenraj3721
    @praveenraj3721 4 года назад +1

    this video is very helpful and as you said you need to extend this video to intermediate and advanced level.

    • @CodeDecode
      @CodeDecode  4 года назад +1

      Sure will make it soon

  • @vibhorgoel4614
    @vibhorgoel4614 4 года назад +1

    Outstanding work done... Watching all your videos for learning. Expecting more soon.. Good Job

  • @vinothkumarg7731
    @vinothkumarg7731 4 года назад +2

    Very useful Pls upload more on that

  • @hansirawat9322
    @hansirawat9322 4 года назад +2

    Thanks for sharing.

  • @sougatabanerjee8832
    @sougatabanerjee8832 2 года назад +23

    Finalize is not a block it is a method of Object class.and another info I found it's depricated from Java 9.correct me if I wrong. Great Video thanks.

    • @ig_haxie
      @ig_haxie 2 года назад +2

      a method is also called as a "block" of code

    • @divsmultiverse
      @divsmultiverse 2 года назад

      Yes Finalize got deprecated from JDK 9, I read in Java Complete reference 10 book

    • @Foodmoods_s
      @Foodmoods_s Год назад

      That method is "Finalized" which is used before the garbage collection, "Finally" is a keyword and a block also which will always execute except when we use the system.exit or in jvm crash abruptly..in these two situations "finally" block will not executed..

  • @prithvisingh40
    @prithvisingh40 4 года назад +2

    Advanced exception handling will be helpful

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

    Great content...They r really helpful...Concept is very clear...U r sharing ur knowledge with us...It is appreciable madam...Thanks alot ...pls upload advanced exception handling interview questions

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

      Sure Nishi, we will upload them soon 👍🙃

  • @rajashekarj3313
    @rajashekarj3313 2 года назад +1

    Wonderful 🙏😍

  • @vishalcoder4964
    @vishalcoder4964 4 года назад +1

    Helps a lot. Thank you @Code Decode

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

    Your explanation is really very helpful ❤️
    Thank you so much

  • @shamukakhamari4661
    @shamukakhamari4661 3 года назад +3

    Please make videos on thread interview questions . your explanations are really amazing.👍

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

      Thanks Shamuka 👍. Sure will create a video on multithreading

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

    thank you very good explaination

  • @ravirajsaraganachari3038
    @ravirajsaraganachari3038 4 года назад +1

    Content is so valuable, Tq 🤗

  • @aayushiagarwal3663
    @aayushiagarwal3663 4 года назад +1

    Thank you for such good videos.
    I have watched your other java videos which came out useful for me

    • @CodeDecode
      @CodeDecode  4 года назад

      Thanks for the nice words 👍

  • @rishikachowdarypotturu3488
    @rishikachowdarypotturu3488 3 года назад +5

    Great content...Upto the point.... Looking for many more to come on the channel 👏

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

      Thanks Rishika for the nice words....

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

    Great content..please upload advanced level exception handling interview questions

  • @shubhamtagalpallewar7125
    @shubhamtagalpallewar7125 4 года назад +2

    Thank you ma'am, was waiting for this video...

  • @sukunkusum1720
    @sukunkusum1720 3 года назад +3

    Hi Team CodeDecode! hope you are fine. excellent video as usual. Please make a video on try with resources and exception chaining!

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

      Sure Sukun, we will do that soon 👍🙂

  • @kalpeshmahagaonkar2145
    @kalpeshmahagaonkar2145 3 года назад +7

    All the interview questions are very helpful. Please cover the Intermediate and Advance level of questions also. I have watched all your videos. Your efforts are highly appreciate.

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

      Thanks Kalpesh. It means a lot 🙏👍

  • @revansiddappapanchal2068
    @revansiddappapanchal2068 2 года назад +1

    your voice is awesome

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

    Superb

  • @VarunGowda-g6x
    @VarunGowda-g6x Год назад +1

    love u madam tq gave much info😍

  • @azimrahman3584
    @azimrahman3584 4 года назад +8

    More interview questions of exception handling upload it

  • @PinakGanguly12rocks
    @PinakGanguly12rocks 2 года назад +1

    Thanks for such a great video.Request you to also make a intermediate level Exception handling interview video content.

    • @CodeDecode
      @CodeDecode  2 года назад

      sure we will create video on it soon

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

    Please make next set of FAQ on exception.

  • @priyapandian8655
    @priyapandian8655 4 года назад +1

    Very useful and I like to get some advanced question in exception also

    • @CodeDecode
      @CodeDecode  4 года назад

      Sure will make part 2 soon

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

    thank you madam, please continue advanced questions on exception handling

  • @abhijeetw693
    @abhijeetw693 Год назад +1

    Yes,plz create video on try with resource

    • @CodeDecode
      @CodeDecode  Год назад +1

      sure we will create it soon

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

    create more video on exception handling,multithreading and collection questions.

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

      sure Priyanka we will create one soon....

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

      😍😭😭❤️😭❤️💞💞😒💞💞💞💞💞💞💞💞💞😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢💋😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢@@CodeDecode in in in

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

      Iio iiii you can

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

      @@CodeDecode in in thatioiiii

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

    Please make exception handling part 2 video with advanced concepts like Exception chaining,try with multiple resources.

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

      Sure Shushma 🙂🙂👍👍

  • @shankarpatilsp
    @shankarpatilsp 4 года назад +1

    Thank You so much Ma'am..!!

  • @bharatahirwar2252
    @bharatahirwar2252 4 года назад +1

    at the end ,you mentioned finally is key word , and finalize is a block , which is wrong statements,
    Except this you explained nicely,
    Awesome explanation.
    pls try to cover all topics for interview perspective.

    • @dileepnb01
      @dileepnb01 2 года назад

      Final is a keyword
      Finally is a block
      Finalize is a method
      Is it correct now?

    • @vishalkadam7728
      @vishalkadam7728 2 года назад

      14.20 timestamp ...checked exception can be propagated using throw

  • @keerthu7055
    @keerthu7055 Год назад +1

    Great mam

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

    Thanks you so much for this video
    Please make Advance questions also

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

      sure ram we will make it soon

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

      @@CodeDecode thanks in advance 😃

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

    ❤️ helpful

  • @suganyasums685
    @suganyasums685 2 года назад +1

    Please make video of advanced exception handling like chaining etc..

    • @CodeDecode
      @CodeDecode  2 года назад

      Sure Suganya. We will upload it in next few days for sure 🙂👍

  • @kishoredanti5769
    @kishoredanti5769 4 года назад +1

    Waiting for Part-2

  • @avneeshsaxena2260
    @avneeshsaxena2260 4 года назад +2

    Plz do make video for multithreding real time senario based interview question.
    I have searched on entire RUclips but did not get single video which is good.
    They have asked like where do you use multithreding in your web project...?

    • @CodeDecode
      @CodeDecode  4 года назад

      That's very nice topic that you have suggested. I will surely make a video on this.

    • @CodeDecode
      @CodeDecode  4 года назад +1

      If possible can you please share what all kind of questions you have faced that you want me to cover.

    • @yoshitamahajan353
      @yoshitamahajan353 4 года назад

      @@CodeDecode where have u used multithreading in your project is one the question

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

    Hi, your interview questions are very good and helpful, I want you to make an video on Generics concept and also on Java 8 feature interview questions

    • @CodeDecode
      @CodeDecode  4 года назад

      sure in next video i will capture java 8 interview questions

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

    Please upload videos on advance exception handling and try with resources

  • @SunilKumar-on1iq
    @SunilKumar-on1iq 4 года назад +1

    👏👏👏👏👏👏👏

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

    Thank you 3000 😊

  • @jayalaxmirn9820
    @jayalaxmirn9820 2 года назад +1

    excellent content. But can you please create videos for experienced people with more advanced concepts?

    • @CodeDecode
      @CodeDecode  2 года назад

      Sure it's already uploaded on channel Jayalaxmi. You need link or you can surf channel??

    • @jayalaxmirn9820
      @jayalaxmirn9820 2 года назад

      @@CodeDecode Can you please send me the link?

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

    Please upload more questions of exception handling.

  • @sankarasubramanian568
    @sankarasubramanian568 2 года назад +1

    good content, thanks !

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

    Great job, thanks!!!!!

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

    @10.36 - question must prepare , its always ask in interview . Nice video

    • @CodeDecode
      @CodeDecode  2 года назад

      Yes it is. Nice observation Rahul 👏👏👏👏👏

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

    Could you please tell me in which scenario we will create customized checked exception and in which scenario we will create customized unchecked exception?

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

    Great video, my only feedback is that to say final variable cannot be changed is misleading as final variables can still be mutated

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

      Thanks. Ohh but Except inside constructor, how can we change/ instantiate it's value?

  • @EncryptoG
    @EncryptoG 4 года назад +2

    Please upload interview questions of exception handling, Thank you.

    • @CodeDecode
      @CodeDecode  4 года назад +2

      Sure will upload soon 👍

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

      @@CodeDecode waiting for other set questions mam, please upload.

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

    Thank you very much

  • @AvinashKumar-ps8wl
    @AvinashKumar-ps8wl 4 года назад +1

    Please , upload exception handling advanced and intermdiate level questions with "Exception handling in spring boot applications " . This is mostly asked question in the interviews .

    • @CodeDecode
      @CodeDecode  4 года назад +1

      Yes I m planning to upload this soon. Thanks for the topic. 👍

  • @koushikratnagiri903
    @koushikratnagiri903 2 года назад +1

    Please cover the intermediate and advanced also

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

    Superb.Thank uu

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

    Thank you so much maam

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

      You're Welcome Heena....

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

    1. How u have handled expections in u r project?
    please give a brief explanation on this mam....asked many times in several interviews...

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

      Will try to put next video on exception handling with spring.

  • @Ss_Sl
    @Ss_Sl 4 года назад +1

    Yes we want advanced level please try a video

    • @CodeDecode
      @CodeDecode  4 года назад +1

      Sure will upload that soon

  • @nehagirase2656
    @nehagirase2656 4 года назад +2

    Hello mam, thank you this video so helpful mam but can you make experience level exception handling questions

    • @CodeDecode
      @CodeDecode  4 года назад +1

      Sure. I will soon create advance level interview questions for this topic

  • @dystopianNinja1289
    @dystopianNinja1289 3 года назад +5

    Thanks for all of these videos

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

      You are welcome........

  • @prashantmehra5247
    @prashantmehra5247 4 года назад +1

    Thank you ma'am

  • @yokesh0075
    @yokesh0075 Год назад +1

    Hi, Could you please add video for advanced or experienced level.

    • @CodeDecode
      @CodeDecode  Год назад

      Sure we will create one soon

  • @Bhavdip2011
    @Bhavdip2011 4 года назад +1

    Give more videos on DS and Algorithms

    • @CodeDecode
      @CodeDecode  4 года назад

      Sure once will complete this will start with data structures

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

    There is a mistake in your PDF please correct it.
    21:50 in final ( 2 line )
    "final method can it be overridden" change to "final method can't be overridden"

  • @josephkumar8259
    @josephkumar8259 4 года назад +1

    Thank you for the video. Can we handle all the exceptions with the parent class Exception...??

    • @CodeDecode
      @CodeDecode  4 года назад +1

      Yes you can but it's not a good practice.

    • @josephkumar8259
      @josephkumar8259 4 года назад +1

      @@CodeDecode Ok. Thank you.

  • @sonalgupta7083
    @sonalgupta7083 Год назад

    Can you please upload video of java best practices

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

    Can we call finalize() explicitly??? What will happen if we call this method manually??

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

      You can call finalize() method explicitly on an object before it is abandoned. When you call, only operations kept in finalize() method are performed on an object. Object will not be destroyed from the memory.

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

    Mam plz do intermediate exception handling questions

  • @pradeeppathak4533
    @pradeeppathak4533 Год назад +1

    Ma'am I have one year experience in java ..this vdo is fit for me ?? Or this is for freshers only ??

    • @CodeDecode
      @CodeDecode  Год назад

      For every one Pradeep. Range is from 0 to 10 . These are basic but needed

  • @suniltammineni1140
    @suniltammineni1140 4 года назад +1

    Can you please make a video about advance lavel of exception handling questions

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

    Mam pls do exception handling other parts also

  • @sukanyasundar4302
    @sukanyasundar4302 4 года назад +1

    Thanks a lot for all the interview related videos. Appreciate your time and effort.

    • @CodeDecode
      @CodeDecode  4 года назад

      I am Glad you like them!

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

    Pls do vedio on juit mockito

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

      sure anuradha will create it soon

  • @jeevansaimanikanta782
    @jeevansaimanikanta782 4 года назад +1

    Please upload intermediate and advanced level video

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

      sure we will upload soon...

  • @manoharsitaram3300
    @manoharsitaram3300 4 года назад +1

    I think from java 1.7 onwards we can provide only try block also. Or may be it is possible when we are using try with resource . Can you please confirm that by looking into it once.

    • @CodeDecode
      @CodeDecode  4 года назад

      That's with try with resources. As said in the video I Will cover that in part 2

  • @sachinjadhav8759
    @sachinjadhav8759 2 года назад +1

    thank you

  • @ankitanayak6485
    @ankitanayak6485 4 года назад +2

    The way of ur explanation 🙌🙌1st time i will see ur video nd so satisfied..tysm 🙏 please upload multi threading concept 🙏

    • @CodeDecode
      @CodeDecode  4 года назад +1

      Sure I will upload a video for multi threading soon 👍👍👍👍

    • @ankitanayak6485
      @ankitanayak6485 4 года назад +1

      @@CodeDecode tysm☺️🙌

  • @satishchavhan09
    @satishchavhan09 Месяц назад

    Please make a video on spring boot interview question for experience Level..

  • @GautamKumar-qx3rt
    @GautamKumar-qx3rt 2 года назад +1

    Really helpful video mam but please be slow
    thnak you

    • @CodeDecode
      @CodeDecode  2 года назад

      Sure Gautam thanks for inputs 🙂🙂👍👍

  • @kingfisher3791
    @kingfisher3791 2 года назад +1

    Mam, where can we find all these as in pdf. This helps many of us for preparation

    • @CodeDecode
      @CodeDecode  2 года назад

      Hey, everything is in description bar below 👍👍🙂🙂 happy learning 👍

  • @yoshitamahajan353
    @yoshitamahajan353 4 года назад +1

    Thank u so much..

  • @AjeetSingh-hs2ec
    @AjeetSingh-hs2ec 2 года назад

    Hello, Can we use multi catch block in Java 8 and above also. Thanks in advance