遇到一些难题,望各高手赐教!!!!!!!!在这先说声谢谢了!!!如果可以的话,在给出答案的同时望给出一点提示.
谢谢了!!!
1、实现下列哪个接口可以对TextField对象的事件进行监听和处理( )
A、ActionListener B、FocusListener
C、MouseMotionListener D、WindowListener
E、ContainerListener
2.哪个关键字可以对对象加互斥锁( )
A、transient B、synchronized
C、serialize D、static
3.哪个布局管理器使用的是组件的最佳尺寸( preferred size)( )
A、FlowLayout
B、BorderLayout
C、GridLayout
D、CardLayout
4、容器被重新设置大小后,哪种布局管理器的容器中的组件大小不随容器大小的变化而改变()。
A、CardLayout B、FlowLayout C、BorderLayout D、GridLayout 5、按钮可以产生ActionEvent事件,实现哪个接口可处理此事件( )
A、FocusListener
B、ComponentListener
C、WindowListener
D、ActionListener
6、TextArea对象可以注册下列哪些接口()
A、TextL15stener
B、ActionListener
C、MouseMotionListener
D、MouseListener
E、 ComponentListener7.下面哪个方法可以在任何时候被任何线程调用( )
A、notify() B、wait()
C、notifyAll() D、sleep()
E、yield() F、synchronized(this)
谢谢了!!!
1、实现下列哪个接口可以对TextField对象的事件进行监听和处理( )
A、ActionListener B、FocusListener
C、MouseMotionListener D、WindowListener
E、ContainerListener
2.哪个关键字可以对对象加互斥锁( )
A、transient B、synchronized
C、serialize D、static
3.哪个布局管理器使用的是组件的最佳尺寸( preferred size)( )
A、FlowLayout
B、BorderLayout
C、GridLayout
D、CardLayout
4、容器被重新设置大小后,哪种布局管理器的容器中的组件大小不随容器大小的变化而改变()。
A、CardLayout B、FlowLayout C、BorderLayout D、GridLayout 5、按钮可以产生ActionEvent事件,实现哪个接口可处理此事件( )
A、FocusListener
B、ComponentListener
C、WindowListener
D、ActionListener
6、TextArea对象可以注册下列哪些接口()
A、TextL15stener
B、ActionListener
C、MouseMotionListener
D、MouseListener
E、 ComponentListener7.下面哪个方法可以在任何时候被任何线程调用( )
A、notify() B、wait()
C、notifyAll() D、sleep()
E、yield() F、synchronized(this)
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货