nerdexam
Oracle

1Z0-860 · Question #173

The bean class of an EJB Web service endpoint has one method annotated with @WebMethod. Which two types can be legally returned from that method? (Choose two.

The correct answer is A. Java. util. Date C. an array ofJava.lang. String. See the full explanation below for the reasoning.

Question

The bean class of an EJB Web service endpoint has one method annotated with @WebMethod. Which two types can be legally returned from that method? (Choose two.

Options

  • AJava. util. Date
  • Bjavax.ejb.Timer
  • Can array ofJava.lang. String
  • Dan EJB3.0local businessinterfacereference
  • Ean EJB3.0 remotebusiness interfacereference

How the community answered

(35 responses)
  • A
    74% (26)
  • B
    9% (3)
  • D
    3% (1)
  • E
    14% (5)

Community Discussion

No community discussion yet for this question.

Full 1Z0-860 Practice