Java Interview Guide : 200+ Interview Questions and Answers - Checked and Unchecked Exceptions

Interactive Video
•
Information Technology (IT), Architecture, Social Studies
•
University
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the topmost class in the exception handling hierarchy in Java?
Error
Exception
Throwable
RuntimeException
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of exception must be handled or declared in the method signature?
Runtime Exception
Checked Exception
Unchecked Exception
Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main characteristic of unchecked exceptions?
They are not required to be handled by the calling method.
They must be handled by the calling method.
They are errors that cannot be managed.
They are always related to file operations.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which class do unchecked exceptions extend?
Exception
Error
RuntimeException
Throwable
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can a programmer create a checked exception?
By extending Exception directly
By extending Throwable
By extending RuntimeException
By extending Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the key difference between errors and exceptions?
Exceptions are always related to memory issues.
Exceptions cannot be handled by the programmer.
Errors can be handled by the programmer.
Errors are unmanageable by the programmer.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of an error?
FileNotFoundException
NullPointerException
OutOfMemoryError
IOException
Similar Resources on Wayground
4 questions
Java Interview Guide : 200+ Interview Questions and Answers - Checked and Unchecked Exceptions

Interactive video
•
University
3 questions
Complete Java SE 8 Developer Bootcamp - Unchecked (Runtime) vs. Checked Exceptions

Interactive video
•
University
6 questions
C++ Developer - Section Wrap-Up - Exceptions and Debugging

Interactive video
•
University
2 questions
Java Programming for Complete Beginners - Java 16 - Step 08 - Hierarchy of Errors and Exceptions - Checked and Runtime

Interactive video
•
University
6 questions
Core Java Programming Course- "Throws" Declaration

Interactive video
•
University
4 questions
Core Java Programming Course- Try and Catch Block (Exception Handling)

Interactive video
•
University
2 questions
Complete Python Scripting for Automation - Introduction to Exception Handling

Interactive video
•
University
8 questions
Complete Modern C++ - Exception Handling - Part IV (Nested Exceptions)

Interactive video
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University