Multiple choice technology programming languages

what are the models available for event handling?

  1. event-inheritance model

  2. event-delegation model

  3. Both a & b

  4. Event-polymorhism model

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The event-inheritance model uses subclasses to handle events (older AWT approach), while the event-delegation model uses listeners where event sources delegate handling to separate listener objects (modern Java approach). Both models are valid event handling strategies.