Oracle
1Z0-899 · Question #137
1Z0-899 Question #137: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-899 to reveal the answer and full explanation for question #137. 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. The Person class has a derived method, getAge():int, which returns the person's age calculated from the date of birth and today's date. In one of your JSPs you need to print a special message to clients within the age group of 25 through 35.Which two EL code snippets will return true for this condition? (Choose two.)
Options
- 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}
- F${not client.age > 35 && client.age < 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.