?
Solved

Could you please explain checked exception and un checked Exception in java

Posted on 2010-01-10
5
Medium Priority
?
303 Views
Last Modified: 2012-05-08
Could you please explain checked exception and un checked Exception in java

give me a example for each one
0
Comment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 400 total points
ID: 26277439
A checked exception is one required to be caught be calling code, such as IOException. Unchecked exceptions, such as NullPointerException, don't need to be caught
0
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 26277486
unchecked Exception can find at run time !!
eg:divedbyzero exception !!dived no  we  cant dont know !!

checkedException is can find in the compile time !!
filenotfound like excprtion !!  
 
0
 
LVL 5

Expert Comment

by:Jalpa Kotak
ID: 26300544
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 26493122
:-)
0
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 26493462
I am also give the correct solution .  Author give preference to only 1st gave solution today he close all the question like that only .
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month8 days, 12 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question