Which of the following statements is true?

A. The try block cannot be present without either catch clause or finally clause.

B. A catch clause can exist without a try statement.

C. It is not compulsory to have finally clause whenever a try/catch block is present.

1
only A and B
2
only B and C
3
only A and C
4
only A, B and C
5
None of above

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation