Which of the following would be most appropriate to output the current date to a browser from a
JSP?
A.
<% new java.util.Date().toString(); %>
B.
<%= new java.util.Date().toString() %>
C.
<%! new java.util.Date().toString(); %>
D.
<jsp:useBean id=”date” class=”java.util.Date” />