What are the advantages of the model over the event-
inheritance model?

Answer Posted / janet

The event-delegation model has two advantages over the
event-inheritance model
they are
1.it enables event handling by objects other than the ones
generate the events.This allows a clean seperation between
a components design and it's use.
2. it performs much better in applications where many
events are generated.This performence improvement is due to
the fact that the event-delegation model doesn't have to be
repeatedly process unhandled events as is the case of the
event-inheritence.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is thread life cycle?

743


What is anagram number?

675


Where are register variables stored?

829


What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?

904


What are different data structures in java?

752


Difference between ‘>>’ and ‘>>>’ operators in java?

913


What is string immutability?

771


Explain different states of a thread in java?

838


What is parsing a sentence?

789


How would you format a date in java? I.e. In the ddmmyyy format?

1158


Why are constructors used?

770


What is regex java?

821


What are the differences between path and classpath variables?

792


What is xslt in java?

761


How big is a gigabyte?

848