Oracle
1Z0-899 · Question #118
1Z0-899 Question #118: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-899 to reveal the answer and full explanation for question #118. The question stem and answer options stay visible for context.
Question
You are writing a JSP that includes scriptlet code to declare a List variable and initializes that variable to an ArrayList object.Which two JSP code snippets can you use to import these list types?
Options
- A<%! import java.util.*; %>
- B<%! import java.util.List; import java.util.ArrayList; %>
- C<%@ page import='java.util.List' import='java.util.ArrayList' %>
- D<%@ import types='java.util.List' types='java.util.ArrayList' %>
- E<%@ page import='java.util.List,java.util.ArrayList' %>
- F<%@ import types='java.util.List,java.util.ArrayList' %>
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.