Menu
Question Index
...

What lines of the following program gets executed, given that there is no exception thrown in the program.

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


A, B, C, D, E, F, G
A, B, C, E, F, G
A, B, D, G
A, B, C, D, G

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