
Java Chapter 11 Review Questions
Authored by Alejandro Hidalgo
Computers
Professional Development

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
24 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When an exception is generated, it is said to have been...
built
thrown
caught
killed
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This is a section of code that gracefully responds to exceptions
exception generator
exception manipulator
exception handler
exception monitor
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If your code does not handle an exception when it is thrown, it is dealt with by this.
default exception handler
the operating system
system debugger
default exception generator
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
All exception classes inherit from this class
Error
RuntimeException
JavaException
Throwable
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
FileNotFoundException inherits from:
Error
IOException
JavaException
FileException
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You can think of this code as bein "protected" because the application will not halt if it throws an exception
try block
catch block
finally block
protected block
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This method can be used to retrieve the error message from an exception object.
errorMessage
errorString
getError
getMessage
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?