This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Product and Other Certifications and the fly likes Multiple RecordListener Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "Multiple RecordListener" Watch "Multiple RecordListener" New topic

Multiple RecordListener

Yuan-Jia Li

Joined: Aug 25, 2009
Posts: 4
Hello, everybody. I have some questions.

Which two are true about record store listeners? (Choose two.)
(A) Listeners are notified if a store is deleted.
(B) A record store can jave only one registered listener.
(C) When a record stroe is closed, listeners are removed.
(D) To listen for all events, three listeners must be registered.
(E) A record can have more than one registered listener.

The answer : C, E

This is a question about SCMAD.
I have tried to run an example.
I'm sure that a RecordStore can have more than one registered listener,
but I can't understand what case should we use more than one registered listener.

Could anyone give me an example?
Thank you!!!

GeeCON Prague 2014
subject: Multiple RecordListener