What are the advantages of the model over the event-
inheritance model?
Answer / 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 |
How do you compare two strings lexicographically?
Does sprintf allocate memory?
What is the relationship difference the canvas class and the graphics class?
How will you get the platform dependent values like line separator, path separator, etc., ?
Why do we need singleton?
What is thread count in java?
What is the longest unicode character?
Difference between arraylist and vector.
what is mutual exclusion? How can you take care of mutual exclusion using java threads? : Java thread
When parseint method can be used?
Can we override private method in java?
what are upcasting and downcasting?