Exception Handling
throwable is the sub class of object class . and it have two sub class: a) Exception b) Error Error should not handle its system related which id not be able to recoverable like Assertion errors, virtual memory errors( outofmemoryerror, stackoverflowerror) Exception can be handle at run time and a appropriate action can be taken. exception like Arithmetic , NullPointer, IOExecption etc. Exception handling is managed by five keywords: try, catch, throw , throws and finally. monitorerd code should be inside try block and try block should have {} if it have zero or more statements. followed by one or more catch statements or one finally statements or both but one of them is necessary after try block. At most one catch block executed irrespective catch blocks and program is continue to that try statement which thrown error during execution and then control goes to finally block if it is present in block.finally block is executed even error/exception handle or no...