Java Servlets and JSP Fundamentals
Casual Mode - Take your time!
1 / 16
Correct
0
Incorrect
0
Score
0%
Multiple Choice
What will be the output of the following JSP code snippet at run-time when it is accessed the third time? <% int test = 0; %> <% ++test; %> The value of test is <%= test %>
- The value of the 'test' variable will be 2.
- The value of the 'test' variable will be 0.
- The value of the 'test' variable will be 1.
- The variable 'test' must be declared at global scope, else a run-time error will occur