Oracle
1Z0-899 · Question #124
1Z0-899 Question #124: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-899 to reveal the answer and full explanation for question #124. The question stem and answer options stay visible for context.
Question
For manageability purposes, you have been told to add a "count" instance variable to a critical JSP Document so that a JMX MBean can track how frequent this JSP is being invoked. Which JSP code snippet must you use to declare this instance variable in the JSP Document?
Options
- Ajsp:declaration
- B<%! int count = 0; %>
- Cjsp:declaration.instance
- Djsp:scriptlet.declaration
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.