Sunday, December 16, 2012

Synchronous and Asynchronous Exceptions


     The interpreter executes the java program sequentially. An exception E can occur relative to a line (L) of program. That is that exception E will always occur at the execution of that line L. This is called Synchronous exception.

An asynchronous exception in java can occur at any point in the execution of a program.

No comments:

Post a Comment

ShareThis

Loading...