Java Chapter 11 Review Questions

Java Chapter 11 Review Questions

Professional Development

24 Qs

quiz-placeholder

Similar activities

Chapter1

Chapter1

Professional Development

20 Qs

SDdbC#_Final Quiz

SDdbC#_Final Quiz

Professional Development

25 Qs

PL SQL

PL SQL

University - Professional Development

20 Qs

User defined exception

User defined exception

Professional Development

20 Qs

Python Lesson

Python Lesson

Professional Development

19 Qs

Java Basics

Java Basics

Professional Development

25 Qs

Quiz Básico de Java

Quiz Básico de Java

7th Grade - Professional Development

25 Qs

Python Programming Quiz

Python Programming Quiz

Professional Development

20 Qs

Java Chapter 11 Review Questions

Java Chapter 11 Review Questions

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Alejandro Hidalgo

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?