Multiple choice technology programming languages

Given in a JSP page, the line: <%-- out.print("Hello World"); --%>

  1. Hello World

  2. out.print("Hello World");

  3. No output is generated by this line

  4. "Hello World"

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

The syntax &lt;%-- ... --%&gt; represents a JSP comment, which is processed entirely server-side and ignored during compilation, resulting in no output. The distractors are incorrect because they assume the code executes or outputs the string literal, which only occurs with scriptlets or expressions.