Multiple choice technology programming languages

How do we comment a line in a jsp

  1. <!-- - - >

  2. <%-- --%>

  3. </* */>

  4. //

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

JSP comments are written using the &lt;%-- --%&gt; syntax, which prevents the commented content from being compiled or sent to the client. The `syntax creates HTML comments, which are sent to the client, while//and/* */` are Java/JavaScript style comments.