Which of the following are true about MouseListenerInterfaces? (Select Multiple)

A) The MouseListener interface defines methods for handling mouse clicks.
B) The MouseMotionListener interface defines methods for handling mouse clicks.
C) The MouseClickListener interface defines methods for handling mouse clicks.
D) The MouseListenerInheritance interface defines methods for handling the clicking of a button.

Showing Answers 1 - 1 of 1 Answers

zibyphilip

  • Feb 13th, 2008
 

The following options are correct:A) TrueExplanation: MouseListener Interface defines the methods for mouse clicks, mouse pressed etc. Hence this is true.B) TrueExplanation: The MouseMotionListener defines methods of MouseClicks as well as mouse movement, hovering, lost focus etc.C) FalseExplanation: This is no listener named MouseClickListener in SwingD) FalseExplanation: There is no interface as MouseListenerInheritence in Swing

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions