Event handlers
Which of the following is/are true?
- You should write an event handler for every button
- You should write an event handler for every object
- You should write an event handler for every event that can occur
- You should write an event handler for every button the user can click on
- You should write an event handler for every method of every object
- You should write an event handler for every property of every object
- You should write an event handler for every event of every object
- You should write an event handler for every argument of a method
- None of the above since event handlers are generated automatically
- All events are button clicks
- All button clicks are events
- All event handlers are subprograms
- All events are subprograms
- Events are made up of statements
- Event handlers are made up of statements
Explain your answer.