欢迎来到计算机考试题库网 计算机题库官网
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.The Person class has a derived method, getAge():int, which returns the person’s age calculated from thedate of birth and today’s date. In one of your JSPs you need to print a special message to clients within theage group of 25 through 35.
Which two EL code snippets will return true for this condition? ()

    A.${client.age in [25,35]}
    B.${client.age between [25,35]}
    C.${client.age between 25 and 35}
    D.${client.age <= 35 && client.age >= 25}
    E.${client.age le 35 and client.age ge 25}

点击查看答案

相关考题

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

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