Home » JAVA Programming » Java Basic » Question
  1. Which of these methods can be used to get reference to a component that was removed from a container?
    1. getComponentChild()
    2. getComponent()
    3. getchild()
    4. getContainerComponent()
Correct Option: C

The getChild() method returns a reference to the component that was added to or removed from the container.



Your comments will be displayed only after manual approval.