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

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024
  • In this video of code decode we have covered all important Exception Handling Interview questions in Java for freshers and experienced
    Udemy Course of Code Decode on Microservice k8s AWS CICD link:
    openinapp.co/u...
    Course Description Video :
    yt.openinapp.c...
    Exception Handling part 2 : • Exception handling Int...
    Q) What is an exception?
    The exception is an abnormal condition that occurs during the execution of a program and disrupts the normal flow of the program. If not handled properly it can cause the program to terminate abruptly.
    Q) How do we handle exceptions in Java
    Try
    Encloses set of statements which can throw exception hence are required to be monitored.
    Catch
    When exception occur, this block catches that exception and work accordingly to handle it or to throw it as required.
    Finally
    This block gets executed always regardless of exception occurrence. Hence clean up is done here.
    Q) Difference between Exception VS Error
    Exception
    We can recover from exception using try catch block or using throw
    Compiler will have knowledge about checked Exceptions hence Compiler will force you to use try-catch blocks
    Exceptions are related to application
    Exceptions include both checked as well as unchecked type.
    Exceptions in java are of type java.lang.Exception.
    Error
    Recovering from Error is not possible
    Compiler will not have any knowledge about unchecked exceptions and Errors
    Errors are related to environment where application is running
    All errors in java are unchecked type
    Errors in java are of type java.lang.Error.
    Q) Can we write only try block without catch and finally blocks?
    No. either catch or finally is must.
    if no then what error will come?
    Answer : compile time error saying “insert finally to complete try statement” like this:
    Q) Can we write any other statements between try catch or finally block?
    No. Try must be followed directly by either catch or finally.
    Q) Does remaining statements in try block executes after exception occurs.
    No. if exception occurs at a particular point in try block then all statements after that statement where exception is occurred will not be execute and the flow goes directly to either catch block if there is any or else program terminates. Hence we need finally block to do all clean up like closing files or removing locks.
    Q) What Is the Difference Between Throw and Throws Keywords in Exception Handling in java?.
    Throw
    Java throw keyword is used to explicitly throw an exception.
    Checked exception cannot be propagated using throw only.
    Throw is used within the method.
    You cannot throw multiple exceptions.
    Throws
    Java throws keyword is used to
    declare an exception.
    Checked exception can be propagated with throws.
    Throws is used with the method signature.
    You can declare multiple exceptions.
    Q) What Happens When an Exception Is Thrown by the Main Method?
    When an exception is thrown by main() method, Java Runtime terminates the program and prints the exception message and the stack trace in-system console.
    Q) What do you understand by unreachable catch block error.
    This error comes when you keep super classes first and sub classes later. Like here We kept Exception which is parent of NullPointer Exception first.
    Hence the order of catch blocks must be from most specific to most general ones.
    -------------------------------------------------------------------------------------------------------------------------------------
    Code Decode Playlists
    Most Asked Core Java Interview Questions and Answers : • Core Java frequently a...
    Advance Java Interview Questions and Answers : • Advance Java Interview...
    Java 8 Interview Questions and Answers : • Java 8 Interview Quest...
    Hibernate Interview Questions and Answers : • Hibernate Interview Qu...
    Spring Boot Interview Questions and Answers : • Advance Java Interview...
    Angular Playlist : • Angular Course Introdu...
    GIT : • GIT
    -------------------------------------------------------------------------------------------------------------------------------------
    Subscriber and Follow Code Decode
    Subscriber Code Decode : www.youtube.co...
    Linkedin : / codedecodeyoutube
    Instagram : / codedecode25
    --------------------------------------------------------------------------------------------------------------------------------------
    #ExceptionHandlingInterviewQuestionsInJava
    #ExceptionHandlingHandlingInterviewQuestionsForExperiencedInJava
    #javainterviewquestionsandanswers #codedecode

ความคิดเห็น • 271

  • @kanchanyasita8272
    @kanchanyasita8272 3 ปีที่แล้ว +8

    Java 7 and beyond, try with resources allows to skip writing the catch as well as finally and closes all the resources being used in try-block itself.
    Any object that implements java.lang.AutoCloseable, which includes all objects which implement java.io.Closeable, can be used as a resource.
    See this code example
    static String readFirstLineFromFile(String path) throws IOException {
    try (BufferedReader br = new BufferedReader(new FileReader(path))) {
    return br.readLine();
    }
    }

  • @azimrahman3584
    @azimrahman3584 4 ปีที่แล้ว +8

    More interview questions of exception handling upload it

  • @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

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

    • @divsreviews2860
      @divsreviews2860 ปีที่แล้ว

      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..

  • @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👍👍

  • @prisha1729
    @prisha1729 3 ปีที่แล้ว +6

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

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว +1

      Sure will upload soon

  • @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

  • @aasimahsan6167
    @aasimahsan6167 ปีที่แล้ว +4

    great explanation cleared all the doubt and also gained confidence

    • @CodeDecode
      @CodeDecode  11 หลายเดือนก่อน +1

      thanks

  • @divsreviews2860
    @divsreviews2860 ปีที่แล้ว +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  ปีที่แล้ว +1

      ❤❤Thanks a lot 🙂

  • @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

  • @MrSumitsharma786
    @MrSumitsharma786 ปีที่แล้ว +1

    your videos are amazing pls dont stress on words ending with T,, its really annoying

    • @CodeDecode
      @CodeDecode  ปีที่แล้ว

      Apologies for the inconvenience. Sure we will stop doing that. That was unintentionally done Sumit.thanks for letting us know🙂

  • @kingfisher3791
    @kingfisher3791 ปีที่แล้ว +1

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

    • @CodeDecode
      @CodeDecode  ปีที่แล้ว

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

  • @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

  • @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 🙂👍

  • @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 👍👍

  • @reddaboinavasista4166
    @reddaboinavasista4166 9 หลายเดือนก่อน +2

    Very Underrated youtuber. Deserves more subscribers.

    • @CodeDecode
      @CodeDecode  9 หลายเดือนก่อน

      Means a lot us 🙏

  • @surajchennoju4736
    @surajchennoju4736 2 ปีที่แล้ว +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"

  • @aakashpatel6160
    @aakashpatel6160 3 ปีที่แล้ว +1

    Mam plz do intermediate exception handling questions

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Sure Aakash 👍👍

  • @yokesh0075
    @yokesh0075 ปีที่แล้ว +1

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

    • @CodeDecode
      @CodeDecode  ปีที่แล้ว

      Sure we will create one soon

  • @akshayghanekar839
    @akshayghanekar839 2 ปีที่แล้ว +1

    Please add interview questions for 3+ year experience

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว

      sure we will upload it soon

  • @abhigyansharma9108
    @abhigyansharma9108 2 หลายเดือนก่อน +1

    Mujhse yh poocha gya mai bata nhi paya tha :(, kaash yh dekhli hoti

    • @CodeDecode
      @CodeDecode  2 หลายเดือนก่อน

      You will do great in your upcoming videos man !! Trust me !! All the very best for your interviews !!

  • @GautamKumar-qx3rt
    @GautamKumar-qx3rt 2 ปีที่แล้ว +1

    Really helpful video mam but please be slow
    thnak you

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว

      Sure Gautam thanks for inputs 🙂🙂👍👍

  • @sandhyarajkumar8597
    @sandhyarajkumar8597 2 ปีที่แล้ว +3

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

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว

      Thanks a lot Sandhya 🙂👍

  • @sukunkusum1720
    @sukunkusum1720 2 ปีที่แล้ว +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  2 ปีที่แล้ว

      Sure Sukun, we will do that soon 👍🙂

  • @Hare_Krishna143
    @Hare_Krishna143 2 ปีที่แล้ว +2

    Such helpful content!!! Appreciate

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว +1

      Thanks for the nice words Manoj

  • @prithvisingh40
    @prithvisingh40 3 ปีที่แล้ว +2

    Advanced exception handling will be helpful

  • @sreejak6776
    @sreejak6776 2 ปีที่แล้ว +1

    Mam pls do exception handling other parts also

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว

      Sure Sreeja 🙂👍

  • @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

  • @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 😃

  • @ayushman_19
    @ayushman_19 ปีที่แล้ว +2

    Please continue this exception handling series

    • @CodeDecode
      @CodeDecode  ปีที่แล้ว

      Sure Ayushman 👍👍

  • @jeevansaimanikanta782
    @jeevansaimanikanta782 3 ปีที่แล้ว +1

    Please upload intermediate and advanced level video

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      sure we will upload soon...

  • @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

  • @farhansheikh1278
    @farhansheikh1278 7 หลายเดือนก่อน

    Can you also create a interview questions on File Handling? Thanks☺

  • @ravirajsaraganachari3038
    @ravirajsaraganachari3038 3 ปีที่แล้ว +3

    Please make next set of FAQ on exception.

  • @VarunGowda-g6x
    @VarunGowda-g6x ปีที่แล้ว +1

    love u madam tq gave much info😍

  • @avneeshsaxena2260
    @avneeshsaxena2260 4 ปีที่แล้ว +2

    Plz do make video for multithreding real time senario based interview question.
    I have searched on entire TH-cam 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 3 ปีที่แล้ว

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

  • @YajurVlog
    @YajurVlog 2 ปีที่แล้ว

    mam finalise i am unable to understand. how it looks how garbage collector workks please show an example rather definantion

  • @NSreenivasulu-d2p
    @NSreenivasulu-d2p 2 หลายเดือนก่อน

    Upload intermediate and advanced level questions... maam.

  • @UttrakhandPahadiBoY1
    @UttrakhandPahadiBoY1 ปีที่แล้ว +1

    What does propagated meaning?

    • @CodeDecode
      @CodeDecode  ปีที่แล้ว

      Means moving up one calling hierarchy

  • @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?

  • @pankajsharma31
    @pankajsharma31 2 ปีที่แล้ว +1

    please upload second part of video

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว

      Sure Sunny 👍🙂

  • @user1994gms
    @user1994gms 2 ปีที่แล้ว +1

    Mentioned in comments.. do a video on it

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว

      th-cam.com/video/RS8oyAJHl2M/w-d-xo.html

  • @richamehta1179
    @richamehta1179 2 ปีที่แล้ว +1

    Please make on advance level too.

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว

      Sure Richa we will make it soon

  • @aaaaaaaa3811
    @aaaaaaaa3811 3 ปีที่แล้ว +1

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

  • @sonalgupta7083
    @sonalgupta7083 ปีที่แล้ว

    Can you please upload video of java best practices

  • @vinothkumarg7731
    @vinothkumarg7731 3 ปีที่แล้ว +2

    Very useful Pls upload more on that

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว +1

      Sure thanks 😊

  • @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.

  • @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.

  • @sankarasubramanian568
    @sankarasubramanian568 ปีที่แล้ว +1

    good content, thanks !

  • @shubhamtagalpallewar7125
    @shubhamtagalpallewar7125 4 ปีที่แล้ว +2

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

    • @CodeDecode
      @CodeDecode  4 ปีที่แล้ว

      Hope it helps :)

  • @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

  • @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

  • @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 🙂🙂👍👍

  • @revansiddappapanchal2068
    @revansiddappapanchal2068 ปีที่แล้ว +1

    your voice is awesome

  • @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 👍🙃

  • @saisybase
    @saisybase 3 ปีที่แล้ว +1

    Thank you very much

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      You are welcome..

  • @EncryptoG
    @EncryptoG 3 ปีที่แล้ว +2

    Please upload interview questions of exception handling, Thank you.

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว +2

      Sure will upload soon 👍

    • @GauravKawatrakir
      @GauravKawatrakir 3 ปีที่แล้ว +1

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

  • @pritikumari153
    @pritikumari153 ปีที่แล้ว

    it is finalize() method not block.

  • @suniltammineni1140
    @suniltammineni1140 3 ปีที่แล้ว +1

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

  • @heenakouser7733
    @heenakouser7733 2 ปีที่แล้ว +1

    Thank you so much maam

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว

      You're Welcome Heena....

  • @koushikratnagiri903
    @koushikratnagiri903 2 ปีที่แล้ว +1

    Please cover the intermediate and advanced also

  • @Parni_Stories
    @Parni_Stories 2 ปีที่แล้ว +1

    Pls do vedio on juit mockito

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว

      sure anuradha will create it soon

  • @ekaterina6666
    @ekaterina6666 ปีที่แล้ว +1

    SPEAK SLOWER!!!!

    • @CodeDecode
      @CodeDecode  ปีที่แล้ว

      Sure we will reduce our pace in upcoming videos. Thanks for your feed back

  • @chenchaiahmalli6234
    @chenchaiahmalli6234 3 ปีที่แล้ว +1

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

  • @ankitabagde6421
    @ankitabagde6421 3 ปีที่แล้ว +1

    Thanks for the vedio it very helpful. Can you please create the same for custom exception?

  • @mohitgharate8171
    @mohitgharate8171 3 ปีที่แล้ว +1

    Please upload videos on advance exception handling and try with resources

  • @ma8969
    @ma8969 2 ปีที่แล้ว +1

    Thank you so much

  • @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

  • @Joe-qv2jo
    @Joe-qv2jo 2 ปีที่แล้ว

    Do you have any courses. Plz reply.

  • @shrutigupta-pl2mi
    @shrutigupta-pl2mi 3 ปีที่แล้ว +1

    Hi Mam, In a lot of interviews I have been asked how to handle "Out Of Memory Error" through JVM or if suddenly the application suddenly starts throwing "Out Of Memory Error" then how will you clear the garbage memory? Can you please help me with this query by giving answer.

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Yes. To prevent out of memory you must create more of local variabless rather than instance variables so that they can be garbage collected. You must nullify objects that are not more in your use so that they can also be garbage collected. Basic answer is to call garbage collector so as to prevent out of memory exception.

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Please have a look at
      th-cam.com/video/EeRFOVMf7rE/w-d-xo.html
      And it's second part to have more clarity on the same

  • @nirmalvaidhyanathanr1299
    @nirmalvaidhyanathanr1299 3 ปีที่แล้ว +1

    Explanation is very good and please upload advanced exception handling questions

  • @AvinashKumar-ps8wl
    @AvinashKumar-ps8wl 3 ปีที่แล้ว +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  3 ปีที่แล้ว +1

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

  • @shubhamnayak668
    @shubhamnayak668 3 ปีที่แล้ว +1

    Can make advance level and mid level interview question for exception

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Sure will upload soon

  • @hansirawat9322
    @hansirawat9322 4 ปีที่แล้ว +2

    Thanks for sharing.

  • @abhijeetw693
    @abhijeetw693 ปีที่แล้ว +1

    Yes,plz create video on try with resource

    • @CodeDecode
      @CodeDecode  ปีที่แล้ว +1

      sure we will create it soon

  • @start1learn-n171
    @start1learn-n171 7 หลายเดือนก่อน +1

    Tq

    • @CodeDecode
      @CodeDecode  7 หลายเดือนก่อน

      Welcome

  • @AbhishekRajurkar
    @AbhishekRajurkar 2 ปีที่แล้ว

    Finalize() is a method**

  • @hemashilpa3954
    @hemashilpa3954 3 ปีที่แล้ว +1

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

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Sure Hema 👍👍

  • @prateetisingha6729
    @prateetisingha6729 3 ปีที่แล้ว +1

    Please upload more questions of exception handling.

  • @sachinjadhav8759
    @sachinjadhav8759 2 ปีที่แล้ว +1

    thank you

  • @aayushiagarwal3663
    @aayushiagarwal3663 3 ปีที่แล้ว +1

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

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Thanks for the nice words 👍

  • @sureshgarine
    @sureshgarine 3 ปีที่แล้ว +1

    thank you madam, please continue advanced questions on exception handling

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Sure Suresh 👍👍

  • @prikansiyadav436
    @prikansiyadav436 3 ปีที่แล้ว +2

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

  • @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?

  • @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

  • @akshaybobade2881
    @akshaybobade2881 3 ปีที่แล้ว +1

    yes please

  • @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 ปีที่แล้ว

      @@CodeDecode Can you please send me the link?

  • @nandasagar3973
    @nandasagar3973 2 ปีที่แล้ว +1

    thank u

    • @CodeDecode
      @CodeDecode  2 ปีที่แล้ว

      You're welcome nanda ....

  • @bharatahirwar2252
    @bharatahirwar2252 3 ปีที่แล้ว +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 ปีที่แล้ว

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

  • @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

  • @Bhavdip2011
    @Bhavdip2011 3 ปีที่แล้ว +1

    Give complete tutorials on THREAD

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Sure will create videos on multi threading soon

  • @priyankaraut9289
    @priyankaraut9289 4 ปีที่แล้ว +1

    Can u please upload interview questions on rest Webservices and spring n springboot

    • @CodeDecode
      @CodeDecode  4 ปีที่แล้ว

      Sure. Next spring boot interview questions are lined up

  • @shankarpatilsp
    @shankarpatilsp 3 ปีที่แล้ว +1

    Thank You so much Ma'am..!!

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      your welcome 👍

  • @lavsharma3441
    @lavsharma3441 3 ปีที่แล้ว +1

    Nice and easy explanation Thanks ma'am

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว +1

      Thanks 🙂👍

  • @kazaasekhar
    @kazaasekhar 3 ปีที่แล้ว +1

    thank you very good explaination

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      You are welcome!

  • @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.

  • @jayhoeliotdecabrio4050
    @jayhoeliotdecabrio4050 7 หลายเดือนก่อน

    where is the part 2

  • @vibhorgoel4614
    @vibhorgoel4614 3 ปีที่แล้ว +1

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

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว +1

      Sure will upload more soon.

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว +1

      Thanks

  • @Ss_Sl
    @Ss_Sl 3 ปีที่แล้ว +1

    Yes we want advanced level please try a video

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว +1

      Sure will upload that soon

  • @Bhavdip2011
    @Bhavdip2011 3 ปีที่แล้ว +1

    Give more videos on DS and Algorithms

    • @CodeDecode
      @CodeDecode  3 ปีที่แล้ว

      Sure once will complete this will start with data structures

  • @keerthu7055
    @keerthu7055 ปีที่แล้ว +1

    Great mam