Examlex

Solved

Assuming That the ClickListener Class Implements the ActionListener Interface, What

question 58

Multiple Choice

Assuming that the ClickListener class implements the ActionListener interface, what statement should be used to complete the following code segment? Assuming that the ClickListener class implements the ActionListener interface, what statement should be used to complete the following code segment?    A) myButton.addActionListener(listener) ; B) myPanel.addActionListener(myButton) ; C) myPanel.addActionListener(listener) ; D) myButton.addActionListener(ClickListener) ;


Definitions:

Related Questions