Explain Event handling in AWT?
Answer / niranjanravi
There are 2 ways to handle the events.
1.EventInheritance model
2.EventDelegation model.
EVentDelegation model has 2 advantages over
EventInheritance model.
First it enables event handling by objects other than the
ones that generates the events.It allows a clean separation
between components design and its use.
Secondly it performs much better in applications where many
events are generated. This performance improvement is due
to the fact that EventDelegation model doesn't need to
repeatable habndle unhandled events as is the case of
EventInheritance
| Is This Answer Correct ? | 2 Yes | 6 No |
Explain heap sort?
can we take more than one null values for Unique constraints.
Which methods cannot be overridden in java?
What is runtime polymorphism or dynamic method dispatch?
What is string value?
What is a layout manager?
what is difference between set and list in collection?
what is filters and its use?
What is the independent variable in an experiment?
How to sort elements in a parallel array in java?
What is structure of java heap? What is perm gen space in heap?
Can a method be static?