InterviewSolution
Saved Bookmarks
| 1. |
Which of these interfaces define four methods?(a) ComponentListener(b) ContainerListener(c) ActionListener(d) InputListenerI had been asked this question in homework.My query is from Event Listeners Interfaces in chapter Event Handling of Java |
|
Answer» RIGHT answer is (a) COMPONENTLISTENER Explanation: ComponentListener DEFINES FOUR METHODS componentResized(), componentMoved(), componentShown() and componentHidden(). |
|