Oracle
1Z0-900 · Question #24
1Z0-900 Question #24: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-900 to reveal the answer and full explanation for question #24. The question stem and answer options stay visible for context.
Create Java Web Applications using JSPs
Question
Which two approaches would result in the current date being added to the output of a JSP? (Choose two.)
Options
- A<%= out.printIn(new java.util.Date()) %>
- B<% out.printIn(new java.util.Date()); %>
- C<%= new java.util.Date() %>
- D<% System.out.printIn(new java.util.Date()); %>
Unlock 1Z0-900 to see the answer
You've previewed enough free 1Z0-900 questions. Unlock 1Z0-900 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#JSP expression tags#JSP scriptlet tags#implicit out object#output generation