Which type would be injected at run time and referenced by the messageHandler variable?

Given the code sample:

And:

And:

And the next fragment from beans.xml:

And this injection point:
@Inject GenericMessenger messageHandler;
Which type would be injected at run time and referenced by the messageHandler variable?
A. SmsHandler
B. MsgHandler
C. None of the above. An exception would be thrown due to ambiguous bean references.
D. GenericMessenger

Download Printable PDF. VALID exam to help you PASS.

2 thoughts on “Which type would be injected at run time and referenced by the messageHandler variable?

Leave a Reply

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


The reCAPTCHA verification period has expired. Please reload the page.