GivenanHttpServletRequestrequestandanHttpServletResponseresponse:41.HttpSessionsession=null;42.//insertcodehere43.if(session==null){44.//dosomethingifsessiondoesnotexist45.}else{46.//dosomethingifsessionexists47.}Toimplementthedesignintent,whichstatementmustbeinsertedatline42?()
A.session=response.getSession();
B.session=request.getSession();
C.session=request.getSession(true);
D.session=request.getSession(false);
E.session=request.getSession("jsessionid");
第1题:
目前微型机上所使用的鼠标器应连接到
A.CON
B.COM1
C.PRN
D.NUL
第2题:
第3题:
若指针P所指非空单链表结点是尾结点,则_________表达式为真。
A.p==NUL;L
B.p->next==NULL
C.p->next==p
D.p->next!=NULL
第4题:
目前微型机上所使用的鼠标器应连接到
A.CON
B.COMI
C.PRN
D.NUL
第5题: