Oracle
1Z0-899 · Question #174
View the Exhibit. Assume the product attribute does NOT yet exist in any scope. Which two create an instance of com.example.Product and initialize the name and price properties to the name and price…
The correct answer is A. <jsp:useBean id="product" class="com.example.Product" /> C. <jsp:useBean id="product" class="com.example.Product" />. See the full explanation below for the reasoning.
Question
View the Exhibit. Assume the product attribute does NOT yet exist in any scope. Which two create an instance of com.example.Product and initialize the name and price properties to the name and price request parameters? (Choose two)
Exhibit
Options
- A<jsp:useBean id="product" class="com.example.Product" />
- B<jsp:useBean id="product" class="com.example.Product" />
- C<jsp:useBean id="product" class="com.example.Product" />
- D<jsp:useBean id="product" class="com.example.Product">
How the community answered
(25 responses)- A76% (19)
- B8% (2)
- D16% (4)
Community Discussion
No community discussion yet for this question.
