what is difference between checked and unchecked exception
plz explain examples ?
Answer Posted / vijay
CHECKED EXCEPTION IS TO BE HANDLED BY USE TRY AND CATCH
EXCEPTION....THAT HAS TO BE THROWN AND CATCH USEING THIS
EXCEPTION...WERE AS UNCHECKED EXCEPTION IS RUN TIME EXCEPTION.
THIS EXCEPTION IS NOT CHECKED AT THE TIME OF COMPILATION
HENCE IT CANNOT BE HANDLED WITH TRY AND CATCH.....
| Is This Answer Correct ? | 55 Yes | 21 No |
Post New Answer View All Answers
What is swing delegation event model in java?
What is an event and what are the models available for event handling?
Which swing methods are thread-safe?
What are swing components?
What are the containers available in swing?
Why swings are used in java?
What class is at the top of the AWT event hierarchy?
What is swing gui?
What is the function of internal frame in swing?
What is swing api?
What is awt and swing in java?
What are heavyweight components? What is lightweight component?
What are swings?
What is swing gui in java?
Why swings are called lightweight components?