Which statement is true?

PYQ RPSC Programmer 2011

Which statement is true?

  1. A.

    A try statement must have at least one corresponding catch block

  2. B.

    Multiple catch statements can catch the same class of exception more than once

  3. C.

    An Error that might be thrown in a method must be declared as thrown by that method, or be handled within that method.

  4. D.

    Except in case of VM shutdown, if a try block starts to execute, a corresponding finally block will always start to execute

Sign up free to check your answer

Sign up free

Explore the full course: Rpsc Programmer

Loading lesson…