Menu
Question Index
...

If we want to execute all lines of the code in the below program, which lines should throw the exceptions.

try
{
    // LINE A
    try
    {
        // LINE B
    }
    catch(Exception ex)
    {
        // LINE C
    }
    // LINE D
}
catch(Exception e)
{
    // LINE E
    // LINE F
}
// LINE G


B, C, D
B, D, F
B, D
A, C, F

Doubts

Problems

Topic: Try Catch Block In Java

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App