试题详情
- 单项选择题 You are building a web application with a scheduling component. On the JSP, you need to show the currentdate, 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: curDate; signature: java.util.DatecurrentDate() name: addWeek; signature: java.util.Date addWeek(java.util.Date, int) name: dateString;signature:java.util.String getDateString(java.util.Date) Which EL code snippet will generate the string for the previousweek?
A、${d:dateString(addWeek(curDate(), -1))}
B、${d:dateString[addWeek[curDate[], -1]]}
C、${d:dateString[d:addWeek[d:curDate[], -1]]}
D、${d:dateString(d:addWeek(d:curDate(), -1))}
- D
关注下方微信公众号,在线模考后查看
热门试题
- public class&e
- 可以通过继承哪个类来创建线程?()
- What is th
- 有这么一段程序: 请问以上程序执行的结
- package foo;&e
- Which statemen
- 1. interface&e
- AnInterface is
- Which two̳
- Which code&ensp
- public class&e
- What is th
- “哥德巴赫猜想”指出,每个大于6的偶数,
- class Flow&ens
- Which two choi
- java中 String str = "
- 数组的下标超界将访问到未知的内存区域
- 接口中的成员方法被隐含地声明为()
- 1.public class Test
- 1. public&ensp