1.

Which of these events is generated when the component is added or removed?(a) ComponentEvent(b) ContainerEvent(c) FocusEvent(d) InputEvent

Answer» The correct answer is (b) ContainerEvent

For 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.


Discussion

No Comment Found

Related InterviewSolutions