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
What is content pane in swing?
Explain how to render an html page using only swing.
What is java swing application?
What does javax swing do?
What's java swing?
What is the what is the difference between invokeandwait() and invokelater()? ?
How do you swing an applet?
What is awt and swing in java?
Which method is used by the applet to recognize the height and width?
How to create image slideshow in java swing?
What are the benefits of swing over awt?
What is jfc? What are the features of jfc?
What is event in java swing?
Why swing is used in java?
What are the components of swing?