Exceptions in Java
An exception is an abnormal path of execution of code that the developer must handle. Ok…then what is an error? An error is an unexpected situation outside the control of the code that the developer should not try to handle.An error may be caused due to environmental factors, hardware/virtual machine failures, etc. None of these … Read more