English, asked by arunajyothivarma, 2 months ago

40. If a try block has two or more associated catch blocks, which of them will be triggered by an exception?

Answers

Answered by purushothamanspurush
2

Answer:

The try block contains set of statements where an exception can occur. A try block is always followed by a catch block, which handles the exception that occurs in associated try block. A try block must be followed by catch blocks or finally block or both.

Answered by aysharilwana2006
2

Answer:

The try block contains set of statements where an exception can occur. A try block is always followed by a catch block, which handles the exception that occurs in associated try block. A try block must be followed by catch blocks or finally block or both.

Similar questions