What is the differe…
 
Notifications
Clear all

What is the difference between errors and exceptions?

1 Posts
2 Users
0 Likes
218 Views
0
Topic starter

What is the difference between errors and exceptions?

1 Answer
0

Errors occur at compile time and run time, which can terminate the compilation or execution. Exceptions occur only at run time, just that checked exceptions can be detected at compile time. Errors are also unchecked like Runtime Exceptions. Exceptions provide you the opportunity to make your program run in normal flow.

Share: