Java Exception Handling

Java Exception Handling

Assessment

Flashcard

Computers

11th - 12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is the advantage of Exception Handling?

Back

To avoid abnormal termination of a program

2.

FLASHCARD QUESTION

Front

What is the parent class of All Exceptions in JAVA?

Back

Throwable

3.

FLASHCARD QUESTION

Front

Which of the following key word is optional in Exception handling program: try, catch, finally, throw?

Back

finally

4.

FLASHCARD QUESTION

Front

try block may or may not contains catch blocks

Back

True

5.

FLASHCARD QUESTION

Front

What is an exception?

Back

Error occurred during the execution of a program

6.

FLASHCARD QUESTION

Front

How to create our own exception?

Back

using 'throw' keyword

7.

FLASHCARD QUESTION

Front

Exception classes belongs to following package: import java.io.*, import java.lang.*, import java.util.*, import java.lang.Exception.*

Back

import java.lang.*

Answer explanation

Only IOException are found in the java.io.*

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?