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

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

1、计算机二级 JAVA-145 (1)及答案解析(总分:100.00,做题时间:90 分钟)一、简单应用题(总题数:3,分数:100.00)1.本程序的功能是用流式布局管理器来管理窗口上的按钮。在执行程序时指定生成按钮的个数,并把这些按钮放置在流式布局管理器管理的窗口中,如图所示。 (分数:30.00)_2.本程序中在窗口的中间显示了一个字符串“欢迎学习 Java!”,字符串的字体为黑体,样式为加粗并且为斜体,如图所示。 (分数:30.00)_3.本程序中,生成了一个窗口,该窗口的长、宽为屏幕长、宽的一半,并且窗口的大小不能改变,如图所示。 (分数:40.00)_计算机二级 JAVA-145 (

2、1)答案解析(总分:100.00,做题时间:90 分钟)一、简单应用题(总题数:3,分数:100.00)1.本程序的功能是用流式布局管理器来管理窗口上的按钮。在执行程序时指定生成按钮的个数,并把这些按钮放置在流式布局管理器管理的窗口中,如图所示。 (分数:30.00)_正确答案:()解析:第 1 处:Integer.parseInt(buttonString) 第 2 处:int buttonNumber2.本程序中在窗口的中间显示了一个字符串“欢迎学习 Java!”,字符串的字体为黑体,样式为加粗并且为斜体,如图所示。 (分数:30.00)_正确答案:()解析:第 1 处:“黑体“ 第 2 处:g.drawString3.本程序中,生成了一个窗口,该窗口的长、宽为屏幕长、宽的一半,并且窗口的大小不能改变,如图所示。 (分数:40.00)_正确答案:()解析:第 1 处:tk.getScreenSize() 第 2 处:setResizable(false)

展开阅读全文
相关资源
猜你喜欢
  • EJ T 20050-2014 7223 Criteria for the design and operation of ventilation systems for nuclear installations other than nuclear reactors《非反应堆核设施通风系统的设计及运行准则》.pdf EJ T 20050-2014 7223 Criteria for the design and operation of ventilation systems for nuclear installations other than nuclear reactors《非反应堆核设施通风系统的设计及运行准则》.pdf
  • EJ T 20051-2014 9019 Design criteria for radiation protection of uranium-enrichment facilities《铀浓缩设施辐射防护设计准则》.pdf EJ T 20051-2014 9019 Design criteria for radiation protection of uranium-enrichment facilities《铀浓缩设施辐射防护设计准则》.pdf
  • EJ T 20052-2014 4375 Specifications for cerium-139 ytterbium-169 and selenium-75 radioactive reference solution《铈-139、鐿-169和硒-75放射性标准溶液规范》.pdf EJ T 20052-2014 4375 Specifications for cerium-139 ytterbium-169 and selenium-75 radioactive reference solution《铈-139、鐿-169和硒-75放射性标准溶液规范》.pdf
  • EJ T 20053 1-2014 0000 Specifications for dedicated sensor in uranium enrichment operation using gas centrifugal technology Part 1 sensor for protecting against accidental light im.pdf EJ T 20053 1-2014 0000 Specifications for dedicated sensor in uranium enrichment operation using gas centrifugal technology Part 1 sensor for protecting against accidental light im.pdf
  • EJ T 20053 2-2014 0000 Specifications for dedicated sensor in uranium enrichment operation using gas centrifugal technology Part 2 sensor for protecting against flowing direction《气.pdf EJ T 20053 2-2014 0000 Specifications for dedicated sensor in uranium enrichment operation using gas centrifugal technology Part 2 sensor for protecting against flowing direction《气.pdf
  • EJ T 20053 3-2014 7500 Specifications for dedicated sensor in uranium enrichment operation using gas centrifugal technology Part 3 sensor for measuring light impurities《气体离心法铀浓缩专用传.pdf EJ T 20053 3-2014 7500 Specifications for dedicated sensor in uranium enrichment operation using gas centrifugal technology Part 3 sensor for measuring light impurities《气体离心法铀浓缩专用传.pdf
  • EJ T 20054 1-2014 7500 Specifications for dedicated power control panel in uraniun enrichment operation using gas centrifugal technology Part 1 power control panel for valves《气体离心法.pdf EJ T 20054 1-2014 7500 Specifications for dedicated power control panel in uraniun enrichment operation using gas centrifugal technology Part 1 power control panel for valves《气体离心法.pdf
  • EJ T 20054 2-2014 0000 Specifications for dedicated power control panel in uraniun enrichment operation using gas centrifugal technology Part 2 power control panel for compressors《.pdf EJ T 20054 2-2014 0000 Specifications for dedicated power control panel in uraniun enrichment operation using gas centrifugal technology Part 2 power control panel for compressors《.pdf
  • EJ T 20055-2014 7524 Standard guide for design of equipment for processing nuclear and radioactive materials《核材料和放射性材料处理设备设计指南》.pdf EJ T 20055-2014 7524 Standard guide for design of equipment for processing nuclear and radioactive materials《核材料和放射性材料处理设备设计指南》.pdf
  • 相关搜索

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

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