Multiple choice

Where will you put OPTION EXPLICIT in your ASP application code?

  1. First line

  2. Last Line

  3. Anywhere in the code

  4. None of these

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

OPTION EXPLICIT must be placed on the FIRST line of ASP code to force variable declaration. This directive affects the entire script and must appear before any executable code. Placing it elsewhere would be ineffective.