Java Exception Handling Interview Questions and Answers

  Рет қаралды 91,670

in28minutes - Get Cloud Certified

in28minutes - Get Cloud Certified

7 жыл бұрын

Java Exception Handling Interview Questions and Answers. ► SUBSCRIBE --> kzbin.info... ► DOWNLOAD Presentation and Notes --> courses.in28minutes.com/p/in2... ► SPECIAL OFFER Java Interview Guide : 200+ Interview Questions and Answers --> www.udemy.com/java-interview-...
--------------------------------------------------
MOST WATCHED TUTORIALS
--------------------------------------------------
► How to become an expert on Spring Boot, REST and Microservices? --> • in28Minutes Roadmap - ...
► WATCH 30+ Videos on SPRING BOOT --> • Spring Boot Tutorials,...
► CHECK OUT Our Most Watched Videos --> • Our Most Watched Tutor...
► All Spring Boot Articles - www.springboottutorial.com/spr...
#HIBERNATE #JAVAINTERVIEW #INTERVIEW #SPRING #SPRINGBOOT #PROGRAMMING
----------------------------------------------
RECOMMENDED COURSES
----------------------------------------------
► Spring Framework Interview Guide - 200+ Questions & Answers --> www.udemy.com/spring-intervie...
► Java Interview Guide : 200+ Interview Questions and Answers --> www.udemy.com/java-interview-...
~~~~~~~~~~~~~~~~~~
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
--------------------------------------------------------------------------------------------
► Python For Beginners - Java to Python in 100 Steps --> www.udemy.com/learn-python-pr...
► Master Microservices with Spring Boot and Spring Cloud --> www.udemy.com/microservices-w...
► Spring Master Class - Beginner to Expert --> www.udemy.com/spring-tutorial...
► Your First Steps from Programmer to Software Architect --> www.udemy.com/software-archit...
► Master Hibernate and JPA with Spring Boot in 100 Steps --> www.udemy.com/hibernate-jpa-t...
► Spring Framework Interview Guide - 200+ Questions & Answers --> www.udemy.com/spring-intervie...
► Master Java Web Services and REST API with Spring Boot --> www.udemy.com/spring-web-serv...
► Learn Spring Boot in 100 Steps - Beginner to Expert --> www.udemy.com/spring-boot-tut...
► Java Interview Guide : 200+ Interview Questions and Answers --> www.udemy.com/java-interview-...
► Mockito Tutorial : Learn mocking with 25 Junit Examples --> www.udemy.com/mockito-tutoria...
► Spring MVC For Beginners : Build Java Web App in 25 Steps --> www.udemy.com/spring-mvc-tuto...
---------------------------------------------------
Follow us on Social Media
---------------------------------------------------
► TWITTER --> / in28minutes
► FACEBOOK --> / in28minutes
► INSTAGRAM --> / in28minutes
► LINKEDIN --> / rangakaranam

Пікірлер: 28
@nileshrepale8259
@nileshrepale8259 6 жыл бұрын
crystal clear!!
@anirbanroy1524
@anirbanroy1524 5 жыл бұрын
Excellent as always
@ManishYadav0719
@ManishYadav0719 6 жыл бұрын
Very clear
@subhtube
@subhtube 7 жыл бұрын
Thank you!!!
@dennisvanmierlo
@dennisvanmierlo 6 жыл бұрын
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.
@Gyangarg
@Gyangarg 7 жыл бұрын
All videos are superb !!
@shruthishru3553
@shruthishru3553 2 жыл бұрын
excellent :)
@shambhukadariya5821
@shambhukadariya5821 7 жыл бұрын
Super video!
@MrSirMargas
@MrSirMargas 5 жыл бұрын
25:59 ''to Implement AutoCloseable and override close'' right ?
@accforgame8563
@accforgame8563 Жыл бұрын
can we handle a child class exception from parent class or parent class exception from the child class using methord or anything else ?/
@denizozen2150
@denizozen2150 6 жыл бұрын
you are great!! only indian accent that I can bear really!!
@ramunaikbanavath5602
@ramunaikbanavath5602 6 жыл бұрын
I want one by one videos. Please upload
@shishirchoudhary7212
@shishirchoudhary7212 5 жыл бұрын
custom exception at 22:00
@NafisaAtiyaKhan
@NafisaAtiyaKhan 7 жыл бұрын
Very good.
@durgapuri1212
@durgapuri1212 20 күн бұрын
How to get this pdf?
@monissiddiqui1529
@monissiddiqui1529 6 жыл бұрын
what its mean in 28 mint concept of this if u don't not in issue its came in my mind
@alihousseini4365
@alihousseini4365 5 жыл бұрын
Cant find the Presentation and Notes !! if someone can send me a link . Thanks Guys
@prashraje1
@prashraje1 4 жыл бұрын
How do we decide if we should use throw or throws while dealing exception?
@basavarajnv1017
@basavarajnv1017 3 жыл бұрын
throw keyword : -It is used for throwing exception object to the jvm. - it's only for customized exception. -Programmerr will create the exception object manually and use the throw keyword to throw that object to the jvm throws: -it is used to declare the exception -it is another way of handling exception.(try,catch is the 1st approach) -it is just used to convince the compiler ..it does not prevent the runtime exceptions,so it is highly recommended to use try,catch block over throws keyword
@basavarajnv1017
@basavarajnv1017 3 жыл бұрын
1 more point,you can use throws only for checked exception s
@Manisha-ck9xo
@Manisha-ck9xo 7 жыл бұрын
can you share that doc ?
@mukulsinha1217
@mukulsinha1217 7 жыл бұрын
Good one..Keep it up!
@ananth225
@ananth225 7 жыл бұрын
Sir where can I find PDF files of all these topics on URL
@jayaramkulkarni1652
@jayaramkulkarni1652 5 жыл бұрын
your definition about checked and unchecked exceptions are too vague
@faizankhan_1989
@faizankhan_1989 5 жыл бұрын
Aye
@sancharidhar5005
@sancharidhar5005 6 жыл бұрын
The repetitions of same thing again and again is too annoying
@ArjunKumar-zu2kl
@ArjunKumar-zu2kl 4 жыл бұрын
Repetition*
@Alex-gn6xb
@Alex-gn6xb 2 жыл бұрын
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
JAVA INTERVIEW Questions and Answers - New Version
40:51
in28minutes - Get Cloud Certified
Рет қаралды 394 М.
Maven Interview Questions and Answers
20:09
in28minutes - Get Cloud Certified
Рет қаралды 39 М.
That's how money comes into our family
00:14
Mamasoboliha
Рет қаралды 9 МЛН
Incredible magic 🤯✨
00:53
America's Got Talent
Рет қаралды 58 МЛН
🤔Какой Орган самый длинный ? #shorts
00:42
Checked vs. Unchecked Exceptions in Java Tutorial - What's The Difference?
10:14
JDBC Interview Questions and Answers
26:09
in28minutes - Get Cloud Certified
Рет қаралды 29 М.
Exception handling in Java Interview questions and answers
13:54
CTPS Education
Рет қаралды 9 М.
Top 25 Microservice Interview Questions Answered - Java Brains
39:54
Exception Handling in Spring Boot REST API Explained With Demonstration
28:05
That's how money comes into our family
00:14
Mamasoboliha
Рет қаралды 9 МЛН