MCQs > IT & Programming > Actionscript 3 > What's the output? try { try { trace('<< try >>'); throw new ArgumentError ('throw this error'); } catch(error : ArgumentError) { trace('<< catch >> ' + error); trace('<< throw >>'); throw error; } catch(error:Error) { trace ('<< Error >> ' + error); } } catch (error:ArgumentError) { trace ('<< catch >> ' + error);

Actionscript 3 MCQs

What will be the output of the following code snippet?

try {

    try {

        trace("<< try >>");

        throw new ArgumentError ("throw this error");

    } catch(error : ArgumentError) {

        trace("<< catch >> " + error);

        trace("<< throw >>");

        throw error;

    } catch(error:Error) {

        trace ("<< Error >> " + error);

    }

} catch (error:ArgumentError) {

    trace ("<< catch >> " + error);

Answer

Correct Answer:

<< try >> << catch >> ArgumentError: throw this error << throw >> << catch >> ArgumentError: throw this error 

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Actionscript 3 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Actionscript 3 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it