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 |
What is nan in java?
What are void pointers?
Why are inner classes required?
Can we call a non-static method from inside a static method?
What is java literals?
Why unicode is important?
What do u mean by wrapper Class? What do u mean by Jvm... How do u change JVM for other OS? Or No need to Change ...? its like tricky
Explain Connection Pooling?
What are different type of access modifiers?
what is the life cycle of jsp?
How do u pass data from one jsp to another jsp?
What is a parameter in a function?