【计算机类职业资格】计算机二级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()

展开阅读全文
相关资源
猜你喜欢
  • ICAO 9756 PART I-2000 Manual of Aircraft Accident and Incident Investigation - Part I - Organization and Planning First Edition Amendment No 1 9 30 2003《航空器事故调查手册 第1部分 组织和规划 第1版 修改.pdf ICAO 9756 PART I-2000 Manual of Aircraft Accident and Incident Investigation - Part I - Organization and Planning First Edition Amendment No 1 9 30 2003《航空器事故调查手册 第1部分 组织和规划 第1版 修改.pdf
  • ICAO 9756 PART IV-2003 Manual of Aircraft Accident and Incident Investigation - Part IV Reporting 1st Edition Printed 05 2003《航空器事故调查手册 第4部分 报告 第1版 2003年5月印刷》.pdf ICAO 9756 PART IV-2003 Manual of Aircraft Accident and Incident Investigation - Part IV Reporting 1st Edition Printed 05 2003《航空器事故调查手册 第4部分 报告 第1版 2003年5月印刷》.pdf
  • ICAO 9760-2001 Airworthiness Manual Volume I Organization and Procedures and Airworthiness Manual Volume II Design Certification and Continuing Airworthiness First Edition Amendmen.pdf ICAO 9760-2001 Airworthiness Manual Volume I Organization and Procedures and Airworthiness Manual Volume II Design Certification and Continuing Airworthiness First Edition Amendmen.pdf
  • ICAO 9764-2000 Report of the Conference on the Economics of Airports and Air Navigation Services Air Transport Infrastructure for the 21st Century Montreal 19-28 June 2000 Includes.pdf ICAO 9764-2000 Report of the Conference on the Economics of Airports and Air Navigation Services Air Transport Infrastructure for the 21st Century Montreal 19-28 June 2000 Includes.pdf
  • ICAO 9765-2000 Legal Committee 31st Session - Report Montreal 28 August - 8 September 2000 Corrigendum 11 16 2000 《法律委员会第31次会议 蒙特利尔报告 2000年8月28日-9月8日 勘误表 2000 11 16》.pdf ICAO 9765-2000 Legal Committee 31st Session - Report Montreal 28 August - 8 September 2000 Corrigendum 11 16 2000 《法律委员会第31次会议 蒙特利尔报告 2000年8月28日-9月8日 勘误表 2000 11 16》.pdf
  • ICAO 9774-2001 Manual on Certification of Aerodromes《机场认证手册 第1版》.pdf ICAO 9774-2001 Manual on Certification of Aerodromes《机场认证手册 第1版》.pdf
  • ICAO 9776-2001 Manual on VHF Digital Link (VDL) Mode 2 First Edition Corrigendum 03 08 02《模式2甚高频(VHF)数字链路(VDL)手册 第1版 勘误表 02 03 08》.pdf ICAO 9776-2001 Manual on VHF Digital Link (VDL) Mode 2 First Edition Corrigendum 03 08 02《模式2甚高频(VHF)数字链路(VDL)手册 第1版 勘误表 02 03 08》.pdf
  • ICAO 9789-2003 Assembly 33rd Session - Plenary Meetings - Minutes Montreal 25 September - 5 Pctober 2001 Printed 03 2003《大会第33次会议 全体会议 会议记录 蒙特利尔 2001年9月25日到10月5日 印刷日期 03 2003》.pdf ICAO 9789-2003 Assembly 33rd Session - Plenary Meetings - Minutes Montreal 25 September - 5 Pctober 2001 Printed 03 2003《大会第33次会议 全体会议 会议记录 蒙特利尔 2001年9月25日到10月5日 印刷日期 03 2003》.pdf
  • ICAO 9791-2004 ASSEMBLY 33rd SESSION Montreal 25 September - 5 October 2001《大会第33次会议 蒙特利尔 2001年9月25日-10月5日》.pdf ICAO 9791-2004 ASSEMBLY 33rd SESSION Montreal 25 September - 5 October 2001《大会第33次会议 蒙特利尔 2001年9月25日-10月5日》.pdf
  • 相关搜索

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

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