This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Multiple RecordListener  RSS feed

 
Yuan-Jia Li
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!!!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!