Q. What is the difference between an error and exception?

 

Answer =

 

Error is a bug in the code that causes irregular output or stops a program from executing. While an Exception is an irregular unexpected situation occurring during execution on which programmer has no control.

2 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post