试题详情
- 多项选择题 Given: 3.public class MyTagHandler extends TagSupport { 4.public int doStartTag() { 5.// insert code here 6.// return an int 7.} 8.// more code here ... 18.} There is a single attribute foo in the session scope. Which three code fragments,inserted independently atline 5,return the value of the attribute?()
A、Object o = pageContext.getAttribute("foo");
B、Object o = pageContext.findAttribute("foo");
C、Object o = pageContext.getAttribute("foo",PageContext.SESSION_SCOPE);
D、HttpSession s = pageContext.getSession();Object o = s.getAttribute("foo");
- B,C,D
关注下方微信公众号,在线模考后查看
热门试题
- 11. class&ensp
- 已知24有8个正整数因子 (即:1,2,
- What is th
- A team o
- public class&e
- 结构化程序设计有哪三种基本流程?分别对应
- Math.random()方法用来实现
- class A {
- 下列程序的运行结果()。
- class Number&e
- 现有: class&ens
- 1. class
- 请说出 ArrayList, Vecto
- What is th
- public abstrac
- 11. String&ens
- Given: 3.public&ens
- 现有: class&ens
- 如何创建一个表格包型布局管理器?()
- 求1~200之间勾股数的组数(如a*a+