要在session对象中保存属性,可以使用以下哪个语句?()
A:session.getAttribute(“key”,”value”)
B:session.setAttribute(“key”,”value”)
C:session.setAtrribute(“key”)
D:session.getAttribute(“key”)
出自:计算机科学