Which two produce the output "one, two and three"?

Given:

http://com.example/myServlet.jsp?num=one&num=two&num=three
Which two produce the output “one, two and three”? (Choose two.)

Given:

http://com.example/myServlet.jsp?num=one&num=two&num=three
Which two produce the output “one, two and three”? (Choose two.)

A.
${param.num[0],[1] and [2]}

B.
${paramValues[0],[1] and [2]}

C.
${param.num[0]}, ${param.num[1]} and ${param.num[2]}

D.
${paramValues.num[0]}, ${paramValues.num[1]} and ${paramValues.num[2]}

E.
${paramValues[“num”][0]}, ${paramValues[“num”][1]} and ${paramValues[“num”][2]}

F.
${parameterValues.num[0]}, ${parameterValues.num[1]} and ${parameterValues.num[2]}

G.
${parameterValues[“num”][“0”]}, ${parameterValues[“num”][“1”]} and
${parameterValues[“num”][“2”]}

Explanation:



Leave a Reply 0

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