Home » Oracle » 1z0-858 » Which comment style needs to be used in a JSP page?
The JSP developer wants a comment to be visible in the final output to the browser. Which comment style needs to be used in a JSP page?
A. <!– this is a comment –>
B. <% // this is a comment %>
C. <%– this is a comment –%>
D. <% /** this is a comment **/ %>
Correct Answer: A
Explanation/Reference:
<- xxx -> html-style annotations, client-visible
<% – xxx -> jsp-style comments, client is not visible
Download Printable PDF. VALID exam to help you PASS.
|
|