1.

A single try block must be followed by which of these?(a) finally(b) catch(c) finally & catch(d) none of the mentioned

Answer» The correct option is (c) finally & catch

To explain I would say: try block can be followed by any of finally or catch block, try block checks for exceptions and work is performed by finally and catch block as per the exception.


Discussion

No Comment Found

Related InterviewSolutions