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

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

1、计算机二级 JAVA-161 (1)及答案解析(总分:100.00,做题时间:90 分钟)一、简单应用题(总题数:3,分数:100.00)1.本程序中,主窗口有“文件”菜单,“文件”菜单中有“退出”菜单项,该菜单项还有一个快捷键“Ctrl+E”,单击“退出”菜单项或者使用快捷键“Ctrl+E”都可以退出程序,如图所示。 (分数:30.00)_2.本程序的功能是监听窗口的状态,包括窗口为当前窗口、窗口不是当前窗口、窗口被图标化和窗口撤销图标化,并将这些信息显示在文本域中,如图所示。 (分数:30.00)_3.本程序的功能是捕获系统的剪贴板,窗口中有一个“Edit”菜单,其中包括“copy”、“c

2、ut”和“paste”菜单项,在右侧的文本域中输入文本,选中部分字符串可以使用“copy”和“cut”菜单项,然后单击“paste”菜单项可以将剪贴板上的文本粘贴到右侧的文本域中,如图所示。 (分数:40.00)_计算机二级 JAVA-161 (1)答案解析(总分:100.00,做题时间:90 分钟)一、简单应用题(总题数:3,分数:100.00)1.本程序中,主窗口有“文件”菜单,“文件”菜单中有“退出”菜单项,该菜单项还有一个快捷键“Ctrl+E”,单击“退出”菜单项或者使用快捷键“Ctrl+E”都可以退出程序,如图所示。 (分数:30.00)_正确答案:()解析:第 1 处:item.s

3、etShortcut(shortcut) 第 2 处:setMenuBar(menubar)2.本程序的功能是监听窗口的状态,包括窗口为当前窗口、窗口不是当前窗口、窗口被图标化和窗口撤销图标化,并将这些信息显示在文本域中,如图所示。 (分数:30.00)_正确答案:()解析:第 1 处:implements WindowListener 第 2 处:addWindowListener(this)3.本程序的功能是捕获系统的剪贴板,窗口中有一个“Edit”菜单,其中包括“copy”、“cut”和“paste”菜单项,在右侧的文本域中输入文本,选中部分字符串可以使用“copy”和“cut”菜单项,然后单击“paste”菜单项可以将剪贴板上的文本粘贴到右侧的文本域中,如图所示。 (分数:40.00)_正确答案:()解析:第 1 处:getSystemClipboard() 第 2 处:text2.append(str)

展开阅读全文
相关资源
猜你喜欢
  • BS EN 13571-2002 Footwear - Test methods for uppers lining and insocks - Tear strength《鞋类 鞋帮、鞋衬和内垫试验方法 扯裂强度》.pdf BS EN 13571-2002 Footwear - Test methods for uppers lining and insocks - Tear strength《鞋类 鞋帮、鞋衬和内垫试验方法 扯裂强度》.pdf
  • BS EN 13573-2009 Inland navigation vessels - Anchoring coupling towing hauling and mooring systems《内河航行船舶 抛锚、联结、拖曳、牵引和停泊系统》.pdf BS EN 13573-2009 Inland navigation vessels - Anchoring coupling towing hauling and mooring systems《内河航行船舶 抛锚、联结、拖曳、牵引和停泊系统》.pdf
  • BS EN 13574-2001 Inland navigation vessels - Permanently installed climbing devices with a length not exceeding 5 m《内陆航运船舶 长度不超过5米的固定安装的攀缘装置》.pdf BS EN 13574-2001 Inland navigation vessels - Permanently installed climbing devices with a length not exceeding 5 m《内陆航运船舶 长度不超过5米的固定安装的攀缘装置》.pdf
  • BS EN 13575-2012 Static thermoplastic tanks for the above ground storage of chemicals Blow moulded or rotationally moulded polyethylene tanks Requirements and test methods《吹模或旋转模制聚.pdf BS EN 13575-2012 Static thermoplastic tanks for the above ground storage of chemicals Blow moulded or rotationally moulded polyethylene tanks Requirements and test methods《吹模或旋转模制聚.pdf
  • BS EN 13577-2007 Chemical attack on concrete - Determination of aggressive carbon dioxide content in water《混凝土的化学侵蚀 生效二氧化碳含量的测定》.pdf BS EN 13577-2007 Chemical attack on concrete - Determination of aggressive carbon dioxide content in water《混凝土的化学侵蚀 生效二氧化碳含量的测定》.pdf
  • BS EN 13578-2003 Products and systems for the protection and repair of concrete structures - Test method - Compatibility on wet concrete《混凝土结构的保护和维修用产品与系统 试验方法 塑性混凝土的可混用性》.pdf BS EN 13578-2003 Products and systems for the protection and repair of concrete structures - Test method - Compatibility on wet concrete《混凝土结构的保护和维修用产品与系统 试验方法 塑性混凝土的可混用性》.pdf
  • BS EN 13579-2002 Products and systems for the protection and repair of concrete structures - Test methods - Drying test for hydrophobic impregnation《混凝土结构的保护和修正用的产品和系统 试验方法 疏水性浸渍的干.pdf BS EN 13579-2002 Products and systems for the protection and repair of concrete structures - Test methods - Drying test for hydrophobic impregnation《混凝土结构的保护和修正用的产品和系统 试验方法 疏水性浸渍的干.pdf
  • BS EN 13580-2002 Products and systems for the protection and repair of concrete structures - Test methods - Water absorption and resistance to alkali for hydrophobic impregnations《.pdf BS EN 13580-2002 Products and systems for the protection and repair of concrete structures - Test methods - Water absorption and resistance to alkali for hydrophobic impregnations《.pdf
  • BS EN 13581-2002 Products and systems for the protection and repair of concrete structures - Test methods - Determination of loss of mass of hydrophobic impregnated concrete after .pdf BS EN 13581-2002 Products and systems for the protection and repair of concrete structures - Test methods - Determination of loss of mass of hydrophobic impregnated concrete after .pdf
  • 相关搜索

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

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