A.Thevaluereturnedneedstobecasttoanint.
B.ThegetAttributemethostakestwoarguments.
C.PrimitiveCANNOTbestoredintheHttpSession.
D.TheHttpSessionattributenamemustNOTexceedeightcharacters.
第1题:
On a vessel proceeding from a very cold to a warm climate with a cargo of a nonhygroscopic nature in the holds,which is TRUE ________.
A.Danger of heavy ship sweat exists;constant and vigorous ventilation is required
B.There is danger of heavy cargo sweat if outside air is introduced by ventilation
C.There is little danger of ship's sweat,slight possibility of cargo sweat;moderate ventilation is needed
D.The possibility of any sweat problem,either cargo or ship,is remote
第2题:
【单选题】现在session中没有任何属性,阅读下面2个JSP中的代码,将分别输出()。 <% out.println(session.getAttribute("svse")); %> <% session.invalidate(); out.println(session.getAttribute("svse")); %>
A.null, 异常信息
B.null, null
C.异常信息,异常信息
D.异常信息,null
第3题:
14、下列函数定义中,正确的是()。
A.int max1(int a,int b) { return a>b?a:b; }
B.int max1(int a,b) { return a>b?a:b; }
C.int max1(a,b) { int a,b; return a>b?a:b; }
D.int max1(int a,int b); { return a>b?a:b; }
第4题:
下列函数定义中,正确的是()。
A.int max1(int a,int b) { return a>b?a:b; }
B.int max1(int a,b) { return a>b?a:b; }
C.int max1(a,b) { int a,b; return a>b?a:b; }
D.int max1(int a,int b); { return a>b?a:b; }
第5题:
对于下列Com接口,叙述正确的是()。 interface Com{ int MAX=100; int fun(); }
A.Com是一个public接口
B.编译器认为int fun(); 就是 abstract int fun();
C.编译器认为 int MAX=100; 就是public final int MAX=100;
D.编译器认为 int MAX=100; 就是public static final int MAX=100;