Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Programming
→
ASP Dot net Interview Questions in Programming
→
What is the difference between Errors and Exceptio...
1.
What is the difference between Errors and Exceptions in Java?
Answer»
Errors
EXCEPTIONS
The type of
ERROR
in Java is Java. Lang.Error.
The type of exception in Java is Java. Lang.Exception.
The type of all the errors in Java is unchecked.
Exceptions include both checked and unchecked types.
It is impossible to recover from errors.
You can recover from exceptions by
HANDLING
them via try-catch blocks.
The reason for
CAUSING
the errors are the environment where the
APPLICATION
is running.
The application itself causes exceptions.
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
What are Java doGet () and doPost () methods?
How garbage collection makes Java more memory efficient?
What is the use of overloading and overriding in Java?
What is the difference between boxing and unboxing in Java?
What is the difference between Errors and Exceptions in Java?
Which one is better, setter injection or constructor injection?
Can you override a static method in Java?
How many ways to handle exceptions in the Spring MVC Framework?
What are the different methods of session management in Servlet?
How can we detect and avoid deadlock in Java?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies