Oracle
1Z0-899 · Question #25
1Z0-899 Question #25: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-899 to reveal the answer and full explanation for question #25. The question stem and answer options stay visible for context.
Question
You are building a dating service web site. Part of the form to submit a client's profile is a group of radio buttons for the person's hobbies: 20. <input type =
radio' name = hobbyEnum' value = HIKING'> Hiking <br> 21. <input type = radio' name = hobbyEnum' value = SKING'> Sking <br> 22. <input type = radio' name = hobbyEnum' value = `SCUBA'> SCUBA <br> 23. <! - - and more options - - >> After the user submits this form, a confirmation screen is displayed with these hobbies listed. Assume that an application-scoped hobbies, holds a map between the hobby enumerated type and the display name. Which EL code snippet will display Nth element of the user's selected hobbles?Options
- A${hobbies [hobbyEnum[N]}
- B${hobbies [paramValues.hobbyEnum[N]]}
- C${hobbies [paramValues @ `hobbyEnum' @N]
- D${hobbies.get(paramValues.hobbyEnum[N]) }
- E${hobbies [paramValues.hobbyEnum.get(N)] }
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.