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

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

1、计算机二级 JAVA-140 (1)及答案解析(总分:100.00,做题时间:90 分钟)一、简单应用题(总题数:3,分数:100.00)1.本程序中,用鼠标在窗口中单击,就在单击的位置生成一个小矩形,如果在某个小矩形上双击鼠标,则该小矩形将消失,如图所示。 (分数:30.00)_2.本程序中,窗口上有两个按钮:“New”和“Close all”。每单击一次“New”按钮,就会生成一个新的对话框,且新窗口的标题是“Window X”(X 为生成的窗口的个数),单击“Close all”按钮后,将关闭所有新生成的对话框,如图所示。 (分数:30.00)_3.本程序的功能是通过按钮来选择窗口显示的

2、风格。窗口中有三个按钮:“Metal”、“Motif”和“Windows”,单击任何一个按钮,就能将窗口的风格改变为按钮名称所对应的风格,如图所示。 (分数:40.00)_计算机二级 JAVA-140 (1)答案解析(总分:100.00,做题时间:90 分钟)一、简单应用题(总题数:3,分数:100.00)1.本程序中,用鼠标在窗口中单击,就在单击的位置生成一个小矩形,如果在某个小矩形上双击鼠标,则该小矩形将消失,如图所示。 (分数:30.00)_正确答案:()解析:第 1 处:implements MouseMotionListener 第 2 处:evt.getClickCount() =

3、 22.本程序中,窗口上有两个按钮:“New”和“Close all”。每单击一次“New”按钮,就会生成一个新的对话框,且新窗口的标题是“Window X”(X 为生成的窗口的个数),单击“Close all”按钮后,将关闭所有新生成的对话框,如图所示。 (分数:30.00)_正确答案:()解析:第 1 处:newButton.addActionListener(this) 第 2 处:f.show()3.本程序的功能是通过按钮来选择窗口显示的风格。窗口中有三个按钮:“Metal”、“Motif”和“Windows”,单击任何一个按钮,就能将窗口的风格改变为按钮名称所对应的风格,如图所示。 (分数:40.00)_正确答案:()解析:第 1 处:PlafPanel 第 2 处:plaf

展开阅读全文
相关资源
猜你喜欢
  • NC 19-00-04-1989 Occupational Hygiene and Safety Standards System Organization of Workers Training in Aspeets of Protection and Hygiene eneral Principies 《职业卫生和安全标准系统 工人组织 保护和卫生的训练.pdf NC 19-00-04-1989 Occupational Hygiene and Safety Standards System Organization of Workers Training in Aspeets of Protection and Hygiene eneral Principies 《职业卫生和安全标准系统 工人组织 保护和卫生的训练.pdf
  • NC 19-00-06-1987 Occupational Hygiene and Safety Standards System Basic Sanitation in Labour Entities General Requirements《职业卫生和安全标准系统 劳动实体的基本卫生 一般要求》.pdf NC 19-00-06-1987 Occupational Hygiene and Safety Standards System Basic Sanitation in Labour Entities General Requirements《职业卫生和安全标准系统 劳动实体的基本卫生 一般要求》.pdf
  • NC 19-00-07-1987 Occupational Hygiene and Safety Standards System Method for Assessing the Physical Work Capacity《职业卫生和安全标准系统 评定体力劳动能力的方法》.pdf NC 19-00-07-1987 Occupational Hygiene and Safety Standards System Method for Assessing the Physical Work Capacity《职业卫生和安全标准系统 评定体力劳动能力的方法》.pdf
  • NC 19-00-08-1988 Occupational Hygiene and Safety Standards System General Technical and Organizative Measures in the Work Environment《职业卫生和安全标准系统 工作环境的一般技术和组织测量》.pdf NC 19-00-08-1988 Occupational Hygiene and Safety Standards System General Technical and Organizative Measures in the Work Environment《职业卫生和安全标准系统 工作环境的一般技术和组织测量》.pdf
  • NC 19-01-02-1985 Occupational Hygiene and Safety Standards System Harmful Substances Classification and General Safety Requirements《职业卫生和安全标准体系 有害物质分类和一般安全要求》.pdf NC 19-01-02-1985 Occupational Hygiene and Safety Standards System Harmful Substances Classification and General Safety Requirements《职业卫生和安全标准体系 有害物质分类和一般安全要求》.pdf
  • NC 19-01-18-1987 Occupational Hygiene and Safety Standards System Electric Tests and Measurements General Safety Requirements《职业卫生和安全标准体系 电动测试和测量 一般安全要求》.pdf NC 19-01-18-1987 Occupational Hygiene and Safety Standards System Electric Tests and Measurements General Safety Requirements《职业卫生和安全标准体系 电动测试和测量 一般安全要求》.pdf
  • NC 19-01-19-1988 Occupational Hygiene and Safety Standards System Emergency Lighting Classification and General Requirements《职业卫生和安全标准体系 紧急灯分类和一般要求》.pdf NC 19-01-19-1988 Occupational Hygiene and Safety Standards System Emergency Lighting Classification and General Requirements《职业卫生和安全标准体系 紧急灯分类和一般要求》.pdf
  • NC 19-01-1984 Safety Technique Pressure Vessels Technical Form《安全技术 压力容器 技术表》.pdf NC 19-01-1984 Safety Technique Pressure Vessels Technical Form《安全技术 压力容器 技术表》.pdf
  • NC 19-01-22-1984 Occupational Hygiene and Safety Standards System Microclímate in Workrooms Measurement Methods and Means General Requirements《职业卫生和安全标准体系 工作间微气候室 测量方法和手段 一般要求》.pdf NC 19-01-22-1984 Occupational Hygiene and Safety Standards System Microclímate in Workrooms Measurement Methods and Means General Requirements《职业卫生和安全标准体系 工作间微气候室 测量方法和手段 一般要求》.pdf
  • 相关搜索

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

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