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?
A.
@Observes(notifyObserver=IF_EXISTS) on line 3 and line 6
B.
@Observes(during=IN_PROGRESS) on line 1
C.
@Observes(during=AFTER_COMPLETION) on line 1
D.
@Observes(notifyObserver=IF_EXISTS) on line 4 and line 7 before method parameter declaration
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
gozdeyd
6 months, 2 weeks agoorjava
7 months agociellaf5
2 years, 10 months ago