SCWCD(310-083)

多选题Given an EL function declared with:11.  12.spin 13.com.example.Spinner 14. 15.java.lang.String spinIt() 16. 17. Which two are true?()AThe function method must have the signature: public String spin().BThe method must be mapped to the logical name spin 

题目
多选题
Given an EL function declared with:11.  12.spin 13.com.example.Spinner 14. 15.java.lang.String spinIt() 16. 17. Which two are true?()
A

The function method must have the signature: public String spin().

B

The method must be mapped to the logical name spin in the web.xml file.

C

The function method must have the signature: public String spinIt().

D

The function method must have the signature public static String spin().

E

The function method must have the signature: public static String spinIt().

F

The function class must be named Spinner, and must be in the package com.example.

参考答案和解析
正确答案: E,F
解析: 暂无解析
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Given:Which statement is true?()

A. Compilation succeeds.

B. Class A does not compile.

C. The method declared on line 9 cannot be modified to throw TestException.

D. TestA compiles if line 10 is enclosed in a try/catch block that catches TestException.


参考答案:D

第2题:

Click the Exhibit button. Given:Which statement is true if a TestException is thrown on line 3 of class B? ()

A.Line 33 must be called within a try block.

B.The exception thrown by method1 in class A is not required to be caught.

C.The method declared on line 31 must be declared to throw a RuntimeException.

D.On line 5 of class A, the call to method2 of class B does not need to be placed in a try/catch block.


参考答案:B

第3题:

●In C program,all variables must be (70) before use,usually at the beginning of the function before any (71) statements.

(70) A.stated

B.writed

C.illustrated

D.declared

(71) A.operate

B.active

C.executable

D.processing


正确答案:D,C
【解析】译文: 在一段C程序中,所有变量在使用前必须声明,通常在函数的可执行语句之前声明。

第4题:

Given the following function:CREATE FUNCTION emplist () RETURNS TABLE ( id CHAR(6) , firstname VARCHAR(12) , lastname VARCHAR(15) ) LANGUAGE SQL BEGIN ATOMIC RETURN SELECT EMPNO, FIRSTNME, LASTNAME FROM EMPLOYEE WHERE WORKDEPT IN (‘A00‘, ‘B00‘); ENDHow can this function be used in an SQL statement?

A.SELECT TABLE(EMPLIST()) FROM EMPLOYEE

B.SELECT TABLE(EMPLIST()) AS t FROM EMPLOYEE

C.SELECT EMPLIST(id, firstname, lastname) FROM EMPLOYEE

D.SELECT id, firstname, lastname FROM TABLE(EMPLIST()) AS t


参考答案:D

第5题:

In C program, all variables must be(70)before use, usually at the beginning of the function before any(71)statements.

A.stated

B.writed

C.illustrated

D.declared


正确答案:D
解析:译文:在一段C程序中,所有变量在使用前必须声明,通常在函数的可执行语句之前声明。

第6题:

Given:10. interface Data { public void load(); }11. abstract class Info { public abstract void load(); }Which class correctly uses the Data interface and Info class?()()

A.

B.

C.

D.

E.

F.


参考答案:A

第7题:

Given:11.//insertcodehere12.&e

Given:

11.//insertcodehere

12.privateNmin,max;

13.publicNgetMin(){returnmin;}

14.publicNgetMax(){returnmax;}

15.publicvoidadd(Nadded){

16.if(min==null||added.doubleValue()<min.doubleValue())

17.min=added;

18.if(max==null||added.doubleValue()>max.doubleValue())

19.max=added;

20.}

21.}

Whichtwo,insertedatline11,willallowthecodetocompile?()


参考答案:B, D

第8题:

A word is a___free form. of a language that has a given sound and meaning and syntactic function.


参考答案:minimal

第9题:

Given the configuration shown in the exhibit, what is the function of the protect-loopback filter?()

A. to protect the Routing Engine

B. to protect all interfaces on the device

C. to protect the Packet Forwarding Engine

D. to protect the management interface


参考答案:A

第10题:

Given: 11.<% 12.request.setAttribute("vals", new String[]{"1","2","3","4"}); 13.request.setAttribute("index", "2"); 14.%> 15.<%-- insert code here --%> Which three EL expressions, inserted at line 15,are valid and evaluate to "3"?()

  • A、${vals.2}
  • B、${vals["2"]}
  • C、${vals.index}
  • D、${vals[index]}
  • E、${vals}[index]
  • F、${vals[vals[index-1]]}

正确答案:B,D,F

更多相关问题