Search Header Logo

Java Chapter 11 Review Questions

Authored by Alejandro Hidalgo

Computers

Professional Development

Java Chapter 11 Review Questions
AI

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?