【计算机类职业资格】计算机二级JAVA-89 (1)及答案解析.doc

上传人:dealItalian200 文档编号:1338389 上传时间:2019-10-17 格式:DOC 页数:2 大小:33.50KB
下载 相关 举报
【计算机类职业资格】计算机二级JAVA-89 (1)及答案解析.doc_第1页
第1页 / 共2页
【计算机类职业资格】计算机二级JAVA-89 (1)及答案解析.doc_第2页
第2页 / 共2页
亲,该文档总共2页,全部预览完了,如果喜欢就下载吧!
资源描述

1、计算机二级 JAVA-89 (1)及答案解析(总分:100.00,做题时间:90 分钟)一、简单应用题(总题数:3,分数:100.00)1.本程序的功能是监听键盘敲击事件,并将敲击的字符显示在标签上。起始,文字标签提示“Please press your keyboard!”,当你按下键盘上的字符键时,文字标签就变为“X“ispressed!”(X 代表用户按下的键所代表的字符),如图所示。 (分数:30.00)_2.本程序中,主窗口有一个按钮“显示 Dialog”,单击该按钮后显示一个对话框,对话框的标题是“Dialog”,其上有一个文字标签“欢迎学习 Java.”,此时仍允许对原来窗口进行

2、操作,当关闭新生成的对话框时退出程序,如图所示。 (分数:30.00)_3.本程序的功能是通过单选按钮来控制面板的边框显示风格。窗口中有 6 个单选按钮,分别代表不同的边框显示的风格,选中任意一个按钮,边框的风格变显示为选中按钮所对应的风格,如图所示。 (分数:40.00)_计算机二级 JAVA-89 (1)答案解析(总分:100.00,做题时间:90 分钟)一、简单应用题(总题数:3,分数:100.00)1.本程序的功能是监听键盘敲击事件,并将敲击的字符显示在标签上。起始,文字标签提示“Please press your keyboard!”,当你按下键盘上的字符键时,文字标签就变为“X“i

3、spressed!”(X 代表用户按下的键所代表的字符),如图所示。 (分数:30.00)_正确答案:()解析:第 1 处:implements KeyListener 第 2 处:e.getKeyChar()2.本程序中,主窗口有一个按钮“显示 Dialog”,单击该按钮后显示一个对话框,对话框的标题是“Dialog”,其上有一个文字标签“欢迎学习 Java.”,此时仍允许对原来窗口进行操作,当关闭新生成的对话框时退出程序,如图所示。 (分数:30.00)_正确答案:()解析:第 1 处:false 第 2 处:System.exit(0)3.本程序的功能是通过单选按钮来控制面板的边框显示风格。窗口中有 6 个单选按钮,分别代表不同的边框显示的风格,选中任意一个按钮,边框的风格变显示为选中按钮所对应的风格,如图所示。 (分数:40.00)_正确答案:()解析:第 1 处:titled 第 2 处:validate()

展开阅读全文
相关资源
猜你喜欢
  • NBN-HD 021 2-1994 8125 《导体和以聚氯乙烯绝缘的电缆,从指定电压到更接近于450 750伏 第2部分:试验方法》.pdf NBN-HD 021 2-1994 8125 《导体和以聚氯乙烯绝缘的电缆,从指定电压到更接近于450 750伏 第2部分:试验方法》.pdf
  • NBN-HD 021 3-1993 6250 Polyvinyl chloride insulated cables of rated voltages up to and including 450 750 V Part 3 Single core non-sheathed cables for fixed wiring《导体和以聚氯乙烯绝缘的电缆,从指定.pdf NBN-HD 021 3-1993 6250 Polyvinyl chloride insulated cables of rated voltages up to and including 450 750 V Part 3 Single core non-sheathed cables for fixed wiring《导体和以聚氯乙烯绝缘的电缆,从指定.pdf
  • NBN-HD 021 5-1993 0000 Polyvinyl chloride insulated cables of rated voltages up to and including 450 750 V Part 5 Flexible cables (cords)《导体和以聚氯乙烯绝缘的电缆,从指定电压到更接近于450 750伏 第5部分:易弯曲的.pdf NBN-HD 021 5-1993 0000 Polyvinyl chloride insulated cables of rated voltages up to and including 450 750 V Part 5 Flexible cables (cords)《导体和以聚氯乙烯绝缘的电缆,从指定电压到更接近于450 750伏 第5部分:易弯曲的.pdf
  • NBN-HD 021 7-1993 2500 Polyvinyl chloride insulated cables of rated voltages up to and including 450 750 V Part 7 Single core non-sheated cables for internal wiring for a conductor.pdf NBN-HD 021 7-1993 2500 Polyvinyl chloride insulated cables of rated voltages up to and including 450 750 V Part 7 Single core non-sheated cables for internal wiring for a conductor.pdf
  • NBN-HD 021 7-1994 0625 《导体和以橡胶绝缘的电缆,从指定电压到更接近于450 750伏 第7部分:导体内部线路芯线的温度为90摄氏度》.pdf NBN-HD 021 7-1994 0625 《导体和以橡胶绝缘的电缆,从指定电压到更接近于450 750伏 第7部分:导体内部线路芯线的温度为90摄氏度》.pdf
  • NBN-HD 021 8-1993 3125 Polyvinyl chloride insulated cables of rated voltages up to and including 450 750 V Part 8 Single core non-sheated cables for decorative chains《导体和以橡胶绝缘的电缆,从.pdf NBN-HD 021 8-1993 3125 Polyvinyl chloride insulated cables of rated voltages up to and including 450 750 V Part 8 Single core non-sheated cables for decorative chains《导体和以橡胶绝缘的电缆,从.pdf
  • NBN-HD 021 9-1993 0000 Polyvinyl chloride insulated cables of rated voltages up to and including 450 750 V Part 9 Single core non-sheated cables for installation at low temperature.pdf NBN-HD 021 9-1993 0000 Polyvinyl chloride insulated cables of rated voltages up to and including 450 750 V Part 9 Single core non-sheated cables for installation at low temperature.pdf
  • NBN-HD 022 1-1993 8750 Rubber insulated cables of rated voltages up to and including 450 750 V Part 1 General requirements《导体和以橡胶绝缘的电缆,从指定电压到更接近于450 750伏 第1部分:一般规定》.pdf NBN-HD 022 1-1993 8750 Rubber insulated cables of rated voltages up to and including 450 750 V Part 1 General requirements《导体和以橡胶绝缘的电缆,从指定电压到更接近于450 750伏 第1部分:一般规定》.pdf
  • NBN-HD 022 1-1994 6875 《导体和以橡胶绝缘的电缆,从指定电压到更接近于450 750伏 第3部分:一般规定》.pdf NBN-HD 022 1-1994 6875 《导体和以橡胶绝缘的电缆,从指定电压到更接近于450 750伏 第3部分:一般规定》.pdf
  • 相关搜索

    当前位置:首页 > 考试资料 > 职业资格

    copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
    备案/许可证编号:苏ICP备17064731号-1