Error: Any departure from the expected behavior of the system or program, which stops the working of the system is an error. Exception:Any error or problem which one can handle and continue to work normally.Note that in Java a compile time error is normally called an "error," while a runtime error is called an "exception."Errors don't have subclasses while exception has two subclasses, they are compile time exception or checked exception (ClassNotFound Exception, IOException,
SQLExcept......
阅读全文