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 |
Give some features of interface?
What is udp in java?
Difference between static synchronization vs. Instance synchronization?
difference between byte stream class and character stream class?
what is recursion in java
Why is java called java?
What do you understand by java?
What JNDI(Java Naming and Directory Interface) provides?
what is wrapper class and its uses?
What is AppletStub?
If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?
Explain in detail about encapsulation with an example?