Java Exception Handling Interview Questions and Answers

preview_player
Показать описание

--------------------------------------------------
MOST WATCHED TUTORIALS
--------------------------------------------------

#HIBERNATE #JAVAINTERVIEW #INTERVIEW #SPRING #SPRINGBOOT #PROGRAMMING

----------------------------------------------
RECOMMENDED COURSES
----------------------------------------------

~~~~~~~~~~~~~~~~~~
Questions
~~~~~~~~~~~~~~~~~
91 . Why is exception handling important?
92 . What design pattern is used to implement exception handling features in most languages?
93 . What is the need for finally block?
94 . In what scenarios is code in finally not executed?
95 . Will finally be executed in the program below?
96 . Is try without a catch is allowed?
97 . Is try without catch and finally allowed?
98 . Can you explain the hierarchy of exception handling classes?
99 . What is the difference between error and exception?
100 . What is the difference between checked exceptions and unchecked exceptions?
101 . How do you throw an exception from a method?
102 . What happens when you throw a checked exception from a method?
103 . What are the options you have to eliminate compilation errors when handling checked exceptions?
104 . How do you create a custom exception?
105 . How do you handle multiple exception types with same exception handling block?
106 . Can you explain about try with resources?
107 . How does try with resources work?
108 . Can you explain a few exception handling best practices?
--------------------------------------------------------------------------------------------
BEST SELLING COURSES - 30 DAY MONEY BACK GUARANTEE
--------------------------------------------------------------------------------------------

---------------------------------------------------
Follow us on Social Media
---------------------------------------------------

Рекомендации по теме
Комментарии
Автор

A good video with a clear explanation about Java. I also like to give a suggestion to improve your videos. You explain it very clear, that eliminates the need to repeat yourself a lot of times. For me personally as a viewer, the repetitions is very annoying. It is better to save that for the conclusion.

dennisvanmierlo
Автор

25:59 ''to Implement AutoCloseable and override close'' right ?

MrSirMargas
Автор

I want one by one videos.
Please upload

ramunaikbanavath
Автор

can we handle a child class exception from parent class or parent class exception from the child class using methord or anything else
?/

accforgame
Автор

what its mean in 28 mint concept of this if u don't not in issue its came in my mind

monissiddiqui
Автор

you are great!! only indian accent that I can bear really!!

denizozen
Автор

Cant find the Presentation and Notes !! if someone can send me a link . Thanks Guys

alihousseini
Автор

How do we decide if we should use throw or throws while dealing exception?

prashraje
Автор

your definition about checked and unchecked exceptions are too vague

jayaramkulkarni
Автор

Sir where can I find PDF files of all these topics on URL

ananth
Автор

The repetitions of same thing again and again is too annoying

sancharidhar
Автор

so what i should handle and what should not? checked - unchecked, dude you messed things up and didn't answer the main interview question )) you reviewing the bloody java docs. thank you for that, but this is not helpful in practice. I don't hear your opinion or what you would recommend doing and what wouldn't. this is the GAP between writing sh*tty code and like a pro

Alex-gnxb