hi valentine,
i've changed my publicly displayed name.
thanx to u & mag for the clarifications.
still the difference is vague after my reading the JLS also.
wht JLS says is ---
This compile-time checking for the presence of exception handlers is designed to reduce the number of exceptions which are not properly handled.(abt chkd exceptions)
The information available to a compiler, and the level of analysis the compiler performs, are usually not sufficient to establish that such run-time exceptions cannot occur, even though this may be obvious to the programmer. Requiring such exception classes to be declared would simply be an irritation to programmers.(abt unchkd exceptions)
my question is if language implementers wanted to allow programmers to handle exceptional situations
by means of handler code, then why the runtime exceptions shud not be also declared in the method definitions & handled by code as the case of chkd exceptions, bcos the possibility of occurrence of chkd exceptions is same as that of runtime exceptions.
Regards