Money Mgt Calculator
[Logo] JavaRanch » Big Moose Saloon
  Search | FAQ | Recent Topics | Hot Topics
Register / Login


Reply Bookmark it! Watch this topic JavaRanch » Forums » Professional Certification » Product and Other Certifications
 
RSS feed
 
New topic
Author

Multiple RecordListener

Yuan-Jia Li
Greenhorn

Joined: Aug 25, 2009
Messages: 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!!!

This message was edited 1 time. Last update was at by Yuan-Jia Li


SCJP 6.0, SCMAD
 
 
 
Reply Bookmark it! Watch this topic JavaRanch » Forums » Professional Certification » Product and Other Certifications
 
RSS feed
 
New topic
IntelliJ open source