Java Exception Handling

Java Exception Handling

University

15 Qs

quiz-placeholder

Similar activities

Java Exception Handling

Java Exception Handling

University

15 Qs

JRB2 Quiz 4

JRB2 Quiz 4

University

10 Qs

Quiz 6 PBO

Quiz 6 PBO

University

10 Qs

exception

exception

University

10 Qs

Java Quiz1

Java Quiz1

University

10 Qs

FOP - CHAPTER 4

FOP - CHAPTER 4

University

20 Qs

File Write and Read

File Write and Read

University

16 Qs

Java Exception Handling

Java Exception Handling

Assessment

Quiz

Computers

University

Hard

Created by

Vinod Jain

Used 17+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following should be true of the object thrown by a thrown statement?

a) Should be assignable to String type

b) Should be assignable to Exception type

c) Should be assignable to Throwable type

d) Should be assignable to Error type

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following keywords is used for throwing exception manually?

finally

try

throw

catch

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

A

B

Compilation Error

Runtime Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these keywords are used for the block to be examined for exceptions?

try

catch

throw

finally

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Hello

World

HelloWOrld

Compilation Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Hello

World

HelloWOrld

Compilation Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Hello

World

HelloWOrld

WorldWorld

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?