Which of these statements are true? Select the two correct answers.

Options
- For each try block there must be at least one catch block defined.
- A try block may be followed by any number of finally blocks.
- If both catch and finally blocks are defined, catch block must precede the finally block.
- none of the above is true


CORRECT ANSWER : If both catch and finally blocks are defined, catch block must precede the finally block.

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement