Home » JAVA Programming » Java Basic » Question
  1. Which of these interfaces handles the event when a component is added to a container?
    1. FocusListener
    2. ComponentListener
    3. ContainerListener
    4. InputListener
    5. None of these
Correct Option: C

The ContainerListener defines methods to recognize when a component is added to or removed from a container.



Your comments will be displayed only after manual approval.