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
What do you know about java?
What is singleton pattern?
What does yield method of the thread class do?
What is variable and its types?
What are annotations in java?
How many types of assembly languages are there?
Define an enumeration?
Can we extend singleton class in java?
What is the default value of local and global variables?
Which oo concept is achieved by using overloading and overriding?
Do extraneous variables affect validity?
Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?
How do you declare an empty string?
How to convert string to byte array and vice versa?
Explain restrictions for using anonymous inner classes?