Multiple choice technology business process management

a try block can be followed by

  1. catch,finally

  2. finally

  3. catch

  4. catch,catch,finally

Reveal answer Fill a bubble to check yourself
A,B,D Correct answer
Explanation

In Java, a try block must be followed by either a catch block, a finally block, or both. The options correctly identify valid combinations like try-catch-finally, try-finally, and multiple catches. However, the option "catch" is marked false when a single catch block is also syntactically valid in Java. Since 'catch' is marked false, the stored answers are partially inconsistent, but try-catch-finally and try-finally are indeed correct.