nerdexam
Oracle

1Z0-899 · Question #141

1Z0-899 Question #141: Real Exam Question with Answer & Explanation

Sign in or unlock 1Z0-899 to reveal the answer and full explanation for question #141. The question stem and answer options stay visible for context.

Question

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 JSPs you need to print a special message to clients who are younger than 25. Which EL code snippet will return true for this condition?

Options

  • 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}
  • F${funct:calcAge[client.birthDate] < 25}

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.

Full 1Z0-899 Practice