单项选择题
javax.swing.JButton的点击事件使用哪一个监听器接口()
A.ActionListener actionPerformed(ActionEvent e)
B.AdjustmentListener adjustmentValueChanged(AdjustmentEvent e)
C.ChangeListener stateChanged(ChangeEvent e)
D.ComponentListener componentShown(ComponentEvent e)
点击查看答案&解析
相关考题
-
单项选择题
某资源文件中有如下内容,以下说法正确的是()
A.可以正常读出Key1为"Value1"
B.可以正常读出Key2为"Value2"
C.可以正常读出Key3为"Value3"
D.可以正常读出Key4为"SuperValue4" -
单项选择题
下面关于文件分割符的说法错误的是()
A.各种系统不区分\和/
B.Windows默认使用\做为文件分割符
C.unix只能使用/做为文件分割符
D.使用在需要使用文件分割符的地方使用System.getProperty("file.separator")可以保证应用程序的跨平台特性 -
单项选择题
假设有一个pr.properties文件,放在/client/properties目录下,在Solaris平台下执行下面代码段,会输出()
A.true;true
B.false;true
C.true;false
D.false;false
