试题详情
- 单项选择题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
关注下方微信公众号,在线模考后查看
热门试题
- public class&e
- The file
- 对于移动平均算法,是计算某变量之前n个数
- 类Account中方法声明正确的是哪一项
- class Waiting&
- Which the foll
- 以下哪些接口是事件侦听器接口?()
- public static&
- 1. class
- 下面有关java的一些细节问题,描述错误
- public class&e
- 下面哪些布局管理影响容器内控件的大小()
- 以后哪项是合法的数组声明?()
- 编写一个程序,能够从键盘上接收两个数字,
- Given that&ensp
- 请问下列代码的输出结果有可能是哪些()。
- 下列有关接口的叙述错误的是哪项?()
- A method
- Which code&ensp
- public class&e