Question: What is the difference between Exception and error in Java?

What is the difference between ‘Exception’ and ‘error’ in Java?

Step by Step Solution

3.33 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

In Java both Exceptions and Errors are subclasses of the Throwable class and represent problems that can arise during the execution of your program Bu... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Advanced Java Programming Questions!