Which two JSP code snippets can you use to import these list types?

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? (Choose two.)
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’ %>

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.