what is difference between checked and unchecked exception
plz explain examples ?
Answer Posted / brahmi
Unchecked Exceptions :
Unchecked exceptions are RuntimeException and any of its
subclasses. Class Error and its subclasses also are
unchecked.
Unchecked runtime exceptions represent conditions that,
generally speaking, reflect errors in your program's logic
and cannot be reasonably recovered from at run time.
With an unchecked exception, however, compiler doesn't
force client programmers either to catch the exception or
declare it in a throws clause.
The most Common examples are ArrayIndexOutOfBoundException,
NUllPointerException ,ClassCastException
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Why are swings considered lightweight?
What is difference between jframe and swing?
What is the function of abstractaction class?
Why do we use swing in java?
Is java swing still used?
What is difference between applet and swing?
what are the steps required in creating an empty table drop?
What are the advantages of swing?
What is the mean of swing?
What is awt and swing in java?
What is swing package in java?
What is swing control?
How to render an html page using only swing.
What class is at the top of the AWT event hierarchy?
What is the role of java swing?