nerdexam
Oracle

1Z0-895 · Question #28

Suppose an EJB named HelloWorldBean is deployed as a standalone ejb-jar. Assuming the HelloWorldBean is implemented as follows: Which HelloWorldBean methods are accessible by another EJB within the…

The correct answer is C. All of the public methods declared in HelloWorldBean. See the full explanation below for the reasoning.

Question

Suppose an EJB named HelloWorldBean is deployed as a standalone ejb-jar. Assuming the HelloWorldBean is implemented as follows: Which HelloWorldBean methods are accessible by another EJB within the same ejb-jar?

Exhibit

1Z0-895 question #28 exhibit

Options

  • AAll of the methods declared in HelloWorldBean
  • BAll of the methods declared in HelloWorld and HelloWorldBean
  • CAll of the public methods declared in HelloWorldBean
  • DAll of the public methods declared in HelloWorld andall of the methods declared in HelloWorldBean

How the community answered

(29 responses)
  • A
    7% (2)
  • B
    10% (3)
  • C
    79% (23)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-895 Practice