欢迎来到求知题库网 求知题库官网
logo
全部科目 > Java认证考试 > SCWCD(310-083)

单项选择题

You are building a dating web site. The client’s date of birth is collected along with lots of other information.You have created an EL function with the signature:
calcAge(java.util.Date):int and it is assigned to the name, age, in the namespace, funct. In one of your JSPsyou need to print a special message to clients who are younger than 25. 
Which EL code snippet will returntrue for this condition?()

    A.${calcAge(client.birthDate) < 25}
    B.${calcAge[client.birthDate] < 25}
    C.${funct:age(client.birthDate) < 25}
    D.${funct:age[client.birthDate] < 25}
    E.${funct:calcAge(client.birthDate) < 25}

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题