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