1.

Which of these interfaces define a method actionPerformed()?(a) ComponentListener(b) ContainerListener(c) ActionListener(d) InputListenerThis question was posed to me by my college director while I was bunking the class.The origin of the question is Event Listeners Interfaces topic in chapter Event Handling of Java

Answer»

Correct choice is (c) ActionListener

To elaborate: ActionListener defines the actionPerformed() method that is invoked when an ADJUSTMENT EVENT occurs.



Discussion

No Comment Found

Related InterviewSolutions