【计算机类职业资格】计算机二级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 1443-2003 Chimneys - General requirements《烟囱 一般要求》.pdf BS EN 1443-2003 Chimneys - General requirements《烟囱 一般要求》.pdf
  • BS EN 1444-2001 Fibre-cement pipelines - Guide for laying and on-site work practices《纤维水泥管道 管道敷设和现场施工指南》.pdf BS EN 1444-2001 Fibre-cement pipelines - Guide for laying and on-site work practices《纤维水泥管道 管道敷设和现场施工指南》.pdf
  • BS EN 145-1998 Respiratory protective devices Self-contained closed-circuit breathing apparatus compressed oxygen or compressed oxygen-nitrogen type Requirements testing marking《呼吸.pdf BS EN 145-1998 Respiratory protective devices Self-contained closed-circuit breathing apparatus compressed oxygen or compressed oxygen-nitrogen type Requirements testing marking《呼吸.pdf
  • BS EN 1453-1-2017 Plastics piping systems with structured-wall pipes for soil and waste discharge (low and high temperature) inside buildings Unplasticized poly(vinyl chloride) (PV.pdf BS EN 1453-1-2017 Plastics piping systems with structured-wall pipes for soil and waste discharge (low and high temperature) inside buildings Unplasticized poly(vinyl chloride) (PV.pdf
  • BS EN 1455-1-2000 Plastics piping systems for soil and waste (low and high temperature) within the building structure Acrylonitrile-butadiene-styrene (ABS) Specifications for pipes.pdf BS EN 1455-1-2000 Plastics piping systems for soil and waste (low and high temperature) within the building structure Acrylonitrile-butadiene-styrene (ABS) Specifications for pipes.pdf
  • BS EN 1457-1-2012 Chimneys Clay ceramic flue liners Flue liners operating under dry conditions Requirements and test methods《烟囱 粘土 陶瓷烟道衬块 在干燥条件下工作的烟道衬块 要求和试验方法》.pdf BS EN 1457-1-2012 Chimneys Clay ceramic flue liners Flue liners operating under dry conditions Requirements and test methods《烟囱 粘土 陶瓷烟道衬块 在干燥条件下工作的烟道衬块 要求和试验方法》.pdf
  • BS EN 1457-2-2012 Chimneys Clay ceramic flue liners Flue liners operating under wet conditions Requirements and test methods《烟囱 粘土 陶瓷烟道衬块 在潮湿条件下工作的烟道衬块 要求和试验方法》.pdf BS EN 1457-2-2012 Chimneys Clay ceramic flue liners Flue liners operating under wet conditions Requirements and test methods《烟囱 粘土 陶瓷烟道衬块 在潮湿条件下工作的烟道衬块 要求和试验方法》.pdf
  • BS EN 1458-1-2011 Domestic direct gas-fired tumble dryers of types B22D and B23D of nominal heat input not exceeding 6 kW Safety《额定热输入值不超过6KW型号为B22D和B23D的家用直接燃气滚筒式烘干机 安全性》.pdf BS EN 1458-1-2011 Domestic direct gas-fired tumble dryers of types B22D and B23D of nominal heat input not exceeding 6 kW Safety《额定热输入值不超过6KW型号为B22D和B23D的家用直接燃气滚筒式烘干机 安全性》.pdf
  • BS EN 1458-2-2011 Domestic direct gas-fired tumble dryers of types B22D and B23D of nominal heat input not exceeding 6 kW Rational use of energy《家用B22D和B23D型号的直接燃气滚筒式烘干机 额定热输入不超过6 .pdf BS EN 1458-2-2011 Domestic direct gas-fired tumble dryers of types B22D and B23D of nominal heat input not exceeding 6 kW Rational use of energy《家用B22D和B23D型号的直接燃气滚筒式烘干机 额定热输入不超过6 .pdf
  • 相关搜索

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

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