Executed blocks

Report a typo

Take a look at the following piece of code:

try {
    // it throws an exception
} catch (RuntimeException e) {
    // ...
} catch (IOException e) {
    // ...
} catch (Exception e) {
    // ...
} finally {
    // ...
}

Let's assume in the try block the java.lang.NumberFormatException is thrown at runtime.

Select all blocks that will be executed.

Select one or more options from the list
___

Create a free account to access the full topic