A: 缓存池的数据结构大致是Map<String, Map<String, Object>>
B: 缓存池的数据结构大致是Map<String, Map<Object, Object>>
C: 基本操作为:添加、更新、删除
D: 默认无法缓存空对象
举一反三
- 用例的扩展关系在UML图中是虚线箭头,其上标注( )。 A: <<include>> B: <<extend>> C: <<class>> D: <<object >>
- 题示代码的功能为:循环遍历输出Map当中的每一个元素。《插入代码》处应填入的代码是( )Map map=new HashMap(); map.put(“jessica”,100); map.put(“tom”,200); map.put(“den”,300); Set《插入代码1》 set =《插入代码2》; for (《插入代码3》 per : set) { System.out.println(per.getKey() + ":" + per.getValue()); } A: <Entry> map.keySet() Entry B: <Entry> map.entrySet() Entry C: <Map.Entry<String, Integer>> map.keySet() Map.Entry<String, Integer> D: <Map.Entry<String, Integer>> map.entrySet() Map.Entry<String, Integer>
- 下列选项中,属于定义字符串资源使用的标签的是 A: <strings/> B: <include/> C: <demin/> D: <string/>
- 6) 下列选项中,( )是正确的表达式。 A: <% String s = “hello world ” ;%> B: <% = “hello world ” ;%> C: <% = “hello world ” %> D: <% ! “hello world ” %>
- 使用SimpleAdapter时要注意用Map<String,Object>item保存列表中每一项显示的title与text。
内容
- 0
%@ Page Language="C#" %&gt;&lt;script runat="server"&gt; void Page_Load(object sender, EventArgs e) { String echostr = Request.QueryString["echostr"]; Response.Write(echostr); }&lt;/script&gt;微信验证程序这样编写可以吗?
- 1
在Web应用程序中有以下的程序代码,执行后转发到JSP页面Map<String,String> map=new HashMap<String,String>();map.put("key1","String1");map.put("key2","String2");request.setAttribute("user",map);以下选项中的( )可以正确使用EL取得map中的值。 A: ${map.key1} B: ${user.key1} C: ${map["key1"]} D: ${user[key1]}
- 2
在集合A={1,2,3}上的下列关系是等价关系的有( )。 A: A={<1,1>,<2,2>,<3,3>} B: B={<1,1>,<2,2>,<3,3>,<3,2>,<2,3>} C: C={<1,1>,<2,2>,<3,3>,<3,2>,<3,1>} D: D={<1,1>,<2,2>,<3,3>,<1,2>,<2,1>}
- 3
在集合A={1,2,3}上的下列关系是等价关系的有( )。 A: A={<1,1>,<2,2>,<3,3>} B: B={<1,1>,<2,2>,<3,3>,<3,2>,<2,3>} C: C={<1,1>,<2,2>,<3,3>,<3,2>,<3,1>} D: D={<1,1>,<2,2>,<3,3>,<1,2>,<2,1>}
- 4
下列是志人小说的是( ) A: <<笑林>> B: <<世说新语>> C: <<列异传>> D: <<干将莫邪>>