Given the code fragment:
Which code can be added to register both of these methods to receive BankEvent notifications only if an instance of BankActivityService is already instantiated in the current context?
Click on the arrows to vote for the correct answer
A. B. C. D.A.
Reference - https://docs.oracle.com/javaee/7/tutorial/cdi-adv005.html.