试题详情
多项选择题 You are writing a JSP that includes scriptlet code to declare a List variable and initializes that variable to anArrayList object. Which two JSP code snippets can you use to import these list types?()

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’ %>

  • C,E
  • 关注下方微信公众号,在线模考后查看

热门试题