Explain the difference between 'Checked Exception' and 'Unchecked Exception' in Java. - Study24x7
Social learning Network
study24x7

Default error msg

Login

New to Study24x7 ? Join Now
Already have an account? Login
13 Mar 2024 10:31 AM study24x7 study24x7

Explain the difference between 'Checked Exception' and 'Unchecked Exception' in Java.

A

Checked exceptions are caught at compile time; unchecked exceptions are caught at runtime.

B

Checked exceptions are caught at runtime; unchecked exceptions are caught at compile time.

C

Checked exceptions must be explicitly caught or declared; unchecked exceptions are automatically caught.

D

Checked exceptions are related to input/output operations; unchecked exceptions are related to arithmetic operations.

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles