Multiple choice technology programming languages

Which of the tag is used to show the comments in the JSP page

  1. <% code fragment %>

  2. <%= expressions %>

  3. <%! Declarations %>

  4. <%-- comment -- %>

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

JSP comments are written using the &lt;%-- comment --%&gt; syntax. These comments are ignored by the JSP engine and are not sent to the client browser, unlike standard HTML comments or other JSP tags.