试题详情
单项选择题 Given that session is a valid HttpSession object:   Int max = session.getAttribute(“MyReallyLongName”);   Which is true?()  

A、 The value returned needs to be cast to an int.

B、 The getAttribute methos takes two arguments.

C、 Primitive CANNOT be stored in the HttpSession.

D、 The HttpSession attribute name must NOT exceed eight characters.

  • C
  • 关注下方微信公众号,在线模考后查看

热门试题