put(String name. Object value)
set(String name. Object value)
setAttribute(String name. Object value)
putAttribute(String name. Object value)
addAttribute(String name. Object value)
第1题:
在下列选项中,正确创建并实现写入cookie的语句分别是()。
第2题:
Which statements concerning the value of a member variable are true, when no explicit assignments have been made?()
第3题:
A.Compilation fails.
B.exception is thrown at runtime.
C.The attribute id in the ItemTest object remains unchanged.
D.The attribute id in the ItemTest object is modified to the new value.
E.A new ItemTest object is created with the preferred value in the id attribute.
第4题:
String s=new String("xyz");创建了几个String Object?
第5题:
Given an HttpServletRequest request: 22.String id = request.getParameter("jsessionid"); 23.// insert code here 24.String name = (String) session.getAttribute("name"); Which three can be placed at line 23 to retrieve anexisting HttpSession object?()
第6题:
public class ItemTest { private final mt id; public ItemTest(int id) { this.id = id; } public void updateId(int newId) { id = newId; } public static void main(String[] args) { ItemTest fa = new ItemTest(42); fa.updateId(69); System.out.println(fa.id); } } What is the result?()
第7题:
public class Person { private name; public Person(String name) { this.name = name; } public int hashCode() { return 420; } } Which is true?()
第8题:
A. 0
B. 1
C. No Object
D. 编译错误
E. null
第9题:
在j2ee中,以下是firevetoablechange方法的正确的原型的是()
第10题:
在J2EE中,以下是firePropertyChange的原型,正确的是()。