给定一个Servlet的代码片段如下所示 Public void doGet(HttpServletRequest request,HttpServletResponse resonse)throws ServletException,IOException{ ArrayList list=new ArrayList(); HttpSession session =request.getSession(); Session.setAttribute(“list”,list); _________________________ } 要取出session中的值,下划线处的代码可以是 A. Object o=session.getAttribute(“list”); B. Object o=(ArrayList)session.getParameter(“list”); C. ArrayList list2=(ArrayList)session.getAttribute(“list”); D. ArrayList list2=session.getParameter(“list”)