ehat is the differencde between error,checked exception and unchecked exception?when occurs at what time?compile time or runtime?which of them can be handled and what not handled?example?
pavani2006
0
Newbie Poster
Recommended Answers
Jump to PostA checked exception is some subclass of Exception (or Exception itself), excluding class RuntimeException and its subclasses.
Making an exception checked forces client programmers to deal with the possibility that the exception will be thrown. eg, IOException thrown by java.io.FileInputStream's read() method·
Unchecked exceptions are RuntimeException and any of its …
All 3 Replies
vinod_javas
65
Practically a Posting Shark
thekashyap
193
Practically a Posting Shark
masijade
1,351
Industrious Poster
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.