Oracle
1Z0-899 · Question #27
1Z0-899 Question #27: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-899 to reveal the answer and full explanation for question #27. The question stem and answer options stay visible for context.
Question
You are building a web application with a scheduling component. On the JSP, you need to show the current date, the date of the previous week, and the date of the next week. To help you present this information, you have created the following EL functions in the `d' namespace: - Name : curData; signature: java.util.utilDate CurrentDate() - Name : curData; signature: java.util.utilDate addweek (java.util.Date, int) - Name: dateString; signature: java.util.String getDataString (jave.util.Data) Which EL code snippet will generate the string for the previous week?
Options
- A${d:dateString(affWeek(curDate(), -1)) }
- B${d:dateString [addWeek[curDate[], - ]] }
- C${d:dateString [d:addWeek[d:curDate[], - 1]] }
- D${d:dateString (d:addWeek(d:curDate(), -1)) }
Unlock 1Z0-899 to see the answer
You've previewed enough free 1Z0-899 questions. Unlock 1Z0-899 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.