Solved

Consider the Following Class: Public Class ClickListener Implements ActionListener

Question 58

Multiple Choice

Consider the following class: public class ClickListener implements ActionListener
{
__________________________________________
{
System.out.println("mouse event ...") ;
}
}
Which of the following method headers should be used to complete the ClickListener class?


A) public void actionPerformed(ActionEvent event)
B) public void actionPerformed(ClickListener event)
C) public void actionPerformed()
D) public void actionPerformed(ActionListener event)

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions