What will be the output of the following JSP code snippet at run-time when it is accessed the third time? The value of test is

  1. The value of the 'test' variable will be 2.

  2. The value of the 'test' variable will be 0.

  3. The value of the 'test' variable will be 1.

  4. The variable 'test' must be declared at global scope, else a run-time error will occur


Correct Option: C

Find more quizzes: