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

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

1、计算机二级 JAVA-83 (1)及答案解析(总分:100.00,做题时间:90 分钟)一、简单应用题(总题数:3,分数:100.00)1.本程序的功能是设置窗口的背景色为黄色,大小为 200200,并设置面板的颜色为绿色,大小为100100,位于窗口的左上角,如图所示。 (分数:30.00)_2.下面的程序中,有两文本框:Input 和 Output,用户在 Input 文本框中输入字符串后回车,字符串会在Output 文本框中出现,如图所示。 (分数:30.00)_3.本程序中,窗口中有两个按钮:BUTTON1 和 BUTTON2,没有定义窗口的大小,窗口使用 FlowLayout 布局管

2、理器,并采用了紧凑风格,如图所示。 (分数:40.00)_计算机二级 JAVA-83 (1)答案解析(总分:100.00,做题时间:90 分钟)一、简单应用题(总题数:3,分数:100.00)1.本程序的功能是设置窗口的背景色为黄色,大小为 200200,并设置面板的颜色为绿色,大小为100100,位于窗口的左上角,如图所示。 (分数:30.00)_正确答案:()解析:第 1 处:pan.setSize(100,100) 第 2 处:f.setVisible(true)2.下面的程序中,有两文本框:Input 和 Output,用户在 Input 文本框中输入字符串后回车,字符串会在Output 文本框中出现,如图所示。 (分数:30.00)_正确答案:()解析:第 1 处:new ActionListener() 第 2 处:tf1.getText()3.本程序中,窗口中有两个按钮:BUTTON1 和 BUTTON2,没有定义窗口的大小,窗口使用 FlowLayout 布局管理器,并采用了紧凑风格,如图所示。 (分数:40.00)_正确答案:()解析:第 1 处:new FlowLayout() 第 2 处:pack()

展开阅读全文
相关资源
猜你喜欢
  • BS EN 12953-2-2012 Shell boilers Materials for pressure parts of boilers and accessories《火管锅炉 锅炉和附件用的压力零件材料》.pdf BS EN 12953-2-2012 Shell boilers Materials for pressure parts of boilers and accessories《火管锅炉 锅炉和附件用的压力零件材料》.pdf
  • BS EN 12953-3-2016 Shell boilers Design and calculation for pressure parts《火管锅炉 压力零件的设计和计算》.pdf BS EN 12953-3-2016 Shell boilers Design and calculation for pressure parts《火管锅炉 压力零件的设计和计算》.pdf
  • BS EN 12953-5-2002 Shell boilers - Inspection during construction documentation and marking of pressure parts of the boiler《火管锅炉 锅炉的压力零件的制造、文献汇编和作标记过程的检查》.pdf BS EN 12953-5-2002 Shell boilers - Inspection during construction documentation and marking of pressure parts of the boiler《火管锅炉 锅炉的压力零件的制造、文献汇编和作标记过程的检查》.pdf
  • BS EN 12953-6-2011 Shell boilers Requirements for equipment for the boiler《锅壳式锅炉 锅炉用设备的要求》.pdf BS EN 12953-6-2011 Shell boilers Requirements for equipment for the boiler《锅壳式锅炉 锅炉用设备的要求》.pdf
  • BS EN 12953-7-2002 Shell boilers - Requirements for firing systems for liquid and gaseous fuels for the boilers《火管锅炉 锅炉用液体和气体燃料的点火系统要求》.pdf BS EN 12953-7-2002 Shell boilers - Requirements for firing systems for liquid and gaseous fuels for the boilers《火管锅炉 锅炉用液体和气体燃料的点火系统要求》.pdf
  • BS EN 12953-8-2002 Shell boilers - Requirements for safeguards against excessive pressure《火管锅炉 第8部分 防过量压力的安全保护装置的要求》.pdf BS EN 12953-8-2002 Shell boilers - Requirements for safeguards against excessive pressure《火管锅炉 第8部分 防过量压力的安全保护装置的要求》.pdf
  • BS EN 12953-9-2007 Shell boilers - Requirements for limiting devices of the boiler and accessories《壳体锅炉 锅炉和附件限制装置的要求》.pdf BS EN 12953-9-2007 Shell boilers - Requirements for limiting devices of the boiler and accessories《壳体锅炉 锅炉和附件限制装置的要求》.pdf
  • BS EN 12954-2001 Cathodic protection of buried or immersed metallic structures - General principles and application for pipelines《埋于土内或浸于液体的金属结构的阴极保护 管道应用和一般原则》.pdf BS EN 12954-2001 Cathodic protection of buried or immersed metallic structures - General principles and application for pipelines《埋于土内或浸于液体的金属结构的阴极保护 管道应用和一般原则》.pdf
  • BS EN 12956-1999 Wallcoverings in roll form - Determination of dimensions straightness spongeability and washability《成卷形式的墙面饰层 尺寸、平直度、防水性和可洗涤性的测定》.pdf BS EN 12956-1999 Wallcoverings in roll form - Determination of dimensions straightness spongeability and washability《成卷形式的墙面饰层 尺寸、平直度、防水性和可洗涤性的测定》.pdf
  • 相关搜索

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

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