nerdexam
Oracle

1Z0-899 · Question #138

A developer wants to use EL to invoke a function using ${my:bloof("foof")}. Which is always true?

The correct answer is A. The method invoked by this function must be static. See the full explanation below for the reasoning.

Question

A developer wants to use EL to invoke a function using ${my:bloof("foof")}. Which is always true?

Options

  • AThe method invoked by this function must be static.
  • BThe function class must implement the Function interface.
  • CThe expression is NOT a valid EL expression for invoking a function.
  • DThe function must be declared in a web.xml file using the <function> element.
  • EThe function class must have a method with the signature: void bloof(java.lang.Strings)

How the community answered

(30 responses)
  • A
    73% (22)
  • B
    3% (1)
  • C
    13% (4)
  • D
    3% (1)
  • E
    7% (2)

Community Discussion

No community discussion yet for this question.

Full 1Z0-899 Practice