InterviewSolution
Saved Bookmarks
| 1. |
Which of these methods can be used to get reference to a component that was removed from a container?(a) getComponent()(b) getchild()(c) getContainerComponent()(d) getComponentChild()I had been asked this question in homework.The above asked question is from ComponentEvent, ContainerEvent & FocusEvent Class in chapter Event Handling of Java |
|
Answer» RIGHT answer is (b) getchild() Explanation: The getChild() METHOD returns a REFERENCE to the component that was added to or removed from the container. |
|