Oracle
1Z0-899 · Question #74
1Z0-899 Question #74: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-899 to reveal the answer and full explanation for question #74. The question stem and answer options stay visible for context.
Question
You are building a web application that will be used throughout the European Union; therefore, it has significant internationalization requirements. You have been tasked to create a custom tag that generates a message using the jav a.text.MessageFormat class. The tag will take the resourceKey attribute and a variable number of argument attributes with the format, arg<N>. Here is an example use of this tag and its output: <t:message resourceKey='diskFileMsg' arg0='MyDisk' arg1='1247' /> generates: The disk "MyDisk" contains 1247 file(s). Which Simple tag class definition accomplishes this goal of handling a variable number of tag attributes?
Options
- Apublic class MessageTag extends SimpleTagSupport implements
- BThe Simple tag model does NOT support a variable number of attributes.
- Cpublic class MessageTag extends
- Dpublic class MessageTag extends SimpleTagSupport implements
- Epublic class MessageTag extends SimpleTagSupport implements
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.