Java Swing Programming Question: Download Questions PDF
What is an event and what are the models available for event handling?
Answer:
Changing the state of an object is called an event. An event is an event object that describes a state of change. In other words, event occurs when an action is generated, like pressing a key on keyboard, clicking mouse, etc. There different types of models for handling events are event-inheritance model and event-delegation model
Download Java Swing Programming Interview Questions And Answers
PDF
Previous Question | Next Question |
Which method is used for setting security in applets? | What are the advantages of the event-delegation model over the event-inheritance model? |