Which two are true?

Given an EL function declared with:
11. <function>
12. <name>spin</name>
13. <function-class>com.example.Spinner</function-class>

14. <function-signature>
15. java.lang.String spinIt()
16. </function-signature>
17. </function>
Which two are true? (Choose two.)

Given an EL function declared with:
11. <function>
12. <name>spin</name>
13. <function-class>com.example.Spinner</function-class>

14. <function-signature>
15. java.lang.String spinIt()
16. </function-signature>
17. </function>
Which two are true? (Choose two.)

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.

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *