1.

If a catch block accepts more than one exceptions then __________________(a) The catch parameters are not final(b) The catch parameters are final(c) The catch parameters are not defined(d) The catch parameters are not used

Answer» Right answer is (b) The catch parameters are final

To explain: The catch parameters are made final. This is to ensure that the parameters are not changed inside the catch block. Hence those retain their values.


Discussion

No Comment Found

Related InterviewSolutions