When two or more objects are added as listeners for the same event, which listener is first invoked to handle the event?

A) The first object that was added as listener.
B) The last object that was added as listener.
C) There is no way to determine which listener will be invoked first.
D) It is impossible to have more than one listener for a given event.

Showing Answers 1 - 12 of 12 Answers

jha

  • Aug 15th, 2011
 

a. The first object that was added as listener.
b. The last object that was added as listener.

  Was this answer useful?  Yes

ABHISHEK SINGH

  • Jan 17th, 2013
 

C) There is no way to determine which listener will be invoked first.

  Was this answer useful?  Yes

deepak

  • Mar 12th, 2013
 

Process from the last added to first

  Was this answer useful?  Yes

GAYATHRI

  • Nov 28th, 2014
 

A. The first object that was added as listener.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions