-
Which of these events is generated when the component is added or removed?
-
- InputEvent
- FocusEvent
- ComponentEvent
- ContainerEvent
- None of these
Correct Option: D
A ContainerEvent is generated when a component is added to or removed from a container. It has two integer constants COMPONENT_ADDED & COMPONENT_REMOVED.