Question: What is the difference between a checked and unchecked exception ? Checked exceptions need not be listed in a throws clauseUnchecked exceptions must be listed

What is the difference between a checked and unchecked exception ?Checked exceptions need not be listed in a throws clauseUnchecked exceptions must be listed in a throws clauseNeither kind of exception follows the rules of exception propagation An unchecked exception requires no throws clauseA checked exception always must be caught by a try block; an unchecked exception does not

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!