单项选择题
Howcanyoucreatealistenerclassthatreceiveseventswhenthemouseismoved?()
A.ByextendingMouseListener.
B.ByimplementingMouseListener.
C.ByextendingMouseMotionListener.
D.ByimplementingMouseMotionListener.
E.EitherbyextendingMouseMotionListenerorextendingMouseListener.
F.EitherbyimplementingMouseMotionListenerorimplementingMouseListener.