Errors: A program mistake is said to be an error. There are three types of errors: 1) Compile time errors(Syntax errors) 2) Runtime errors(Exceptions) 3) Logical errors Runtime errors handling mechanism is called as exception handling. In exception handling we use the following keywords. 1) try 2) catch 3) throw 4) throws 5) finally The syntax of try and catch blocks: try { ============= => Task code }catch(ExceptionClassName ObjectReference) { ============= => Error Message } try block must be associated with at least one catch block or finally block. All exceptions are classes in Java. Whenever exception occurs in a Java program, then the related exception class object is created by JVM, passed to exception handler(catch block) and exception handler code is executed. There are two types o...