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


Please Help Members By Posting Answers For Below Questions

How to create a swing gui in java?

530


Which swing methods are thread-safe?

645


Is java swing still used?

537


What is the design pattern that java uses for all swing components ?

513


Why is model-view-controller architecture used in swing?

547






Explain how to render an html page using only swing.

1028


What are the benefits of swing over awt?

592


What is layout in java swing?

534


What are the two key features of swing?

536


What is java swing components?

536


What is difference between jframe and swing?

518


What is difference between applet and swing?

537


What do you mean by java swing?

518


What are the advantage of swing over awt?

506


What is the use of jcomponent class in swing?

573