Exam4Training

Which three statements should you implement in sequence?

DRAG DROP

You are developing an application that reads information from a file.

The application must:

• Execute a block of code if there is an error accessing the file

• Execute a second block of code whether or not there is an error accessing the file

You need to ensure that the error handling requirements are met.

Which three statements should you implement in sequence? (To answer, move the appropriate statements from the list of actions to the answer area and arrange them in the correct order.)

Answer:

Explanation:

The fileopen statement is put within the try clause.

The catch(e) will catch a fileopen error.

The finally clause will be executed regardless of whether an error occurs in the try clause proceeding it

Latest 70-480 Dumps Valid Version with 288 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version