my dog learned polymorphism
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!!!

I agree. Here's the link:
subject: Multiple RecordListener
It's not a secret anymore!