试题详情
单项选择题How can you create a listener class that receives events when the mouse is moved?()  

A、 By extending MouseListener.

B、 By implementing MouseListener.

C、 By extending MouseMotionListener.

D、 By implementing MouseMotionListener.

E、 Either by extending MouseMotionListener or extending MouseListener.

F、 Either by implementing MouseMotion Listener or implementing MouseListener.

  • D
  • 关注下方微信公众号,在线模考后查看

热门试题