A
B
C
D
E
第1题:
Given an HttpServletRequest request and an HttpServletResponse response: 41.HttpSession session = null; 42.// insert code here 43.if(session == null) { 44.// do something if session does not exist 45.} else { 46.// do something if session exists47. } To implement the design intent,which statement must be inserted at line 42?()
第2题:
Which of the following is a characteristic of a sequence?()
第3题:
A.move the line 12 print statement into the foo() method
B.change line 7 to public synchronized void go() {
C.change the variable declaration on line 2 to private volatile int x;
D.wrap the code inside the foo() method with a synchronized( this ) block
E.wrap the for loop code inside the go() method with a synchronized block synchronized(this){ //for loop code here }
第4题:
Which HttpSession method stores an object in a session?()
第5题:
Which two statements about MPLS Label Distribution Protocol (LDP) are true? ()
第6题:
You want to create a temporary table named OLD_INVENTORY in the OLD_INVENTORY database on the master server. This table is not to be replicated to the slave server. Which two changes would ensure that the temporary table does not propagate to the slave?()
第7题:
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?()
第8题:
A.A sequence will never generate duplicate values
B.The MAXVALUE of a sequence can be equal to the MINVALUE
C.It is not possible to create a sequence that generates a constant since the INCREMENT value must be greater than zero
D.When a sequence cycles back to either the MAXVALUE or MINVALUE, it will always be equal to the specified value of either of these two boundaries
第9题:
Given that a scoped attribute cart exist only in a user’s session, which two, taken independently, ensure the scoped attribute cart no longer exists?()
第10题:
Given that session is a valid HttpSession object: Int max = session.getAttribute(“MyReallyLongName”); Which is true?()