试题详情
- 多项选择题 You need to store a Java long primitive attribute, called customerOID, into the session scope. Which two code snippets allow you to insert this value into the session?()
A、long customerOID = 47L;session.setAttribute("customerOID", new Long(customerOID));
B、long customerOID = 47L;session.setLongAttribute("customerOID", new Long(customerOID));
C、long customerOID = 47L;session.setAttribute("customerOID", customerOID);
D、long customerOID = 47L;session.setNumericAttribute("customerOID", new Long(customerOID));
- A,C
关注下方微信公众号,在线模考后查看
热门试题
- class Animal{&
- static void&en
- Which code&ensp
- 以下关于应用程序主类的描述,哪项错误?(
- 如何区分多个构造函数?()
- 内存垃圾回收将删除无法访问的对象
- Which three
- 11. static&ens
- 下面程序的运行结果:()。
- 现有: class&ens
- 现有两个源文件: pack
- 通过Ajax,客户端获取的数据主要有两种
- A Company.com&
- 31. // so
- class One&ensp
- 23. Object&ens
- 下面描述属于java虚拟机功能的是()。
- Java语言中表达式-12>>3Q
- Map系列对象中,哪个对象的内部实现是双
- java中的标识符可以是任意长度