Checked and unchecked exception

Checked and unchecked exception

Professional Development

38 Qs

quiz-placeholder

Similar activities

C&SE PRE-KNOWLEDGE SURVEY (A+ 1102-CORE 2)

C&SE PRE-KNOWLEDGE SURVEY (A+ 1102-CORE 2)

University - Professional Development

40 Qs

202508500002

202508500002

Professional Development

40 Qs

Pega RPA Automation Overview

Pega RPA Automation Overview

Professional Development

43 Qs

C Language Test

C Language Test

Professional Development

35 Qs

Quiz 2: Loop and Array

Quiz 2: Loop and Array

Professional Development

35 Qs

HTML CSS JS Teacher Assessment

HTML CSS JS Teacher Assessment

Professional Development

40 Qs

Chaos Engineering and Kubernetes Quiz

Chaos Engineering and Kubernetes Quiz

Professional Development

40 Qs

C Programming Quiz

C Programming Quiz

Professional Development

41 Qs

Checked and unchecked exception

Checked and unchecked exception

Assessment

Quiz

Computers

Professional Development

Hard

Created by

ANIL KUMAR

FREE Resource

38 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What are checked and unchecked exceptions in Java?
Required and unchecked handling.
Optional and handled exceptions.
Handled and required exceptions.
Required and optional handling.

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What are the examples of checked and unchecked exceptions?
RuntimeException, IOException.
ArrayIndexOutOfBoundsException, NullPointerException.
IOException, ClassNotFoundException.
NullPointerException, ArithmeticException.

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which Java exceptions are unchecked?
IOException.
ClassNotFoundException.
RuntimeException.
SQLException.

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What are the 4 checked exceptions in Java?
NumberFormatException, NullPointerException, ArrayIndexOutOfBoundsException, ArithmeticException.
FileNotFoundException, ClassNotFoundException, InterruptedException, SQLException.
RuntimeException, IndexOutOfBoundsException, IllegalArgumentException, ConcurrentModificationException.
IOException, SQLException, ClassNotFoundException, InterruptedException.

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the difference between checked and unchecked exception?
Checked at runtime, unchecked at compile time.
Unchecked at runtime, checked at compile time.
Checked at runtime and compile time.
Unchecked at runtime and compile time.

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Is NullPointerException checked or unchecked?
Checked.
Unchecked.
Both.
None.

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What are the three unchecked exceptions?
ClassNotFoundException, NullPointerException, IOException.
IllegalArgumentException, ArrayIndexOutOfBoundsException, NullPointerException.
NullPointerException, InterruptedException, NumberFormatException.
UnsupportedOperationException, ClassCastException, IOException.

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?