1.

Is it mandatory for a catch block to be followed after a try block?

Answer»

No, it is not NECESSARY for a catch block to be present after a try block. - A try block should be followed EITHER by a catch block or by a finally block. If the exceptions likelihood is more, then they should be declared using the THROWS CLAUSE of the method.



Discussion

No Comment Found