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

展开阅读全文
相关资源
猜你喜欢
  • DIN V 43697-2006 Low-voltage switchgear and controlgear - Multi position switch《低压开关装置和控制装置 多定位开关》.pdf DIN V 43697-2006 Low-voltage switchgear and controlgear - Multi position switch《低压开关装置和控制装置 多定位开关》.pdf
  • DIN V 44302-2-1994 Data communication terms《数据通信 第2部分 术语》.pdf DIN V 44302-2-1994 Data communication terms《数据通信 第2部分 术语》.pdf
  • DIN V 44570-60531-2008 Household electric thermal storage room heaters - Methods for measuring performance (IEC 59C 107 DC 2002)《家用储热式电加热器 测量性能的方法》.pdf DIN V 44570-60531-2008 Household electric thermal storage room heaters - Methods for measuring performance (IEC 59C 107 DC 2002)《家用储热式电加热器 测量性能的方法》.pdf
  • DIN V 44578-1-2006 Electric room heating - Characteristics of performance of electric storage boilers for water piped central heating - Part 1 Classification and definitions《室内电气采暖.pdf DIN V 44578-1-2006 Electric room heating - Characteristics of performance of electric storage boilers for water piped central heating - Part 1 Classification and definitions《室内电气采暖.pdf
  • DIN V 44578-2-2006 Electric room heating - Characteristics of performance of electric storage boilers for water piped central heating - Part 2 Tests《室内电气采暖 水管输送的中央暖气系统的电蓄热锅炉性能特性 第2.pdf DIN V 44578-2-2006 Electric room heating - Characteristics of performance of electric storage boilers for water piped central heating - Part 2 Tests《室内电气采暖 水管输送的中央暖气系统的电蓄热锅炉性能特性 第2.pdf
  • DIN V 44578-3-2006 Electric room heating - Characteristics of performance of electric storage boilers for water piped central heating - Part 3 Requirements《室内电气采暖 水管输送的中央暖气系统的电蓄热锅炉.pdf DIN V 44578-3-2006 Electric room heating - Characteristics of performance of electric storage boilers for water piped central heating - Part 3 Requirements《室内电气采暖 水管输送的中央暖气系统的电蓄热锅炉.pdf
  • DIN V 44578-4-2006 Electric room heating -Characteristics of performance of electric storage boilers for water piped central heating - Part 4 Calculation《室内电气采暖 水管输送的中央暖气系统的电蓄热锅炉性能.pdf DIN V 44578-4-2006 Electric room heating -Characteristics of performance of electric storage boilers for water piped central heating - Part 4 Calculation《室内电气采暖 水管输送的中央暖气系统的电蓄热锅炉性能.pdf
  • DIN V 45673-4-2008 Mechanical vibration - Resilient elements used in railway tracks - Part 4 Analytical evaluation of insertion loss of mounted track systems《机械振动 铁轨用弹性部件 第4部分 已安装的.pdf DIN V 45673-4-2008 Mechanical vibration - Resilient elements used in railway tracks - Part 4 Analytical evaluation of insertion loss of mounted track systems《机械振动 铁轨用弹性部件 第4部分 已安装的.pdf
  • DIN V 45695-1996 Hand-arm vibration - Guidelines for vibration hazards reduction - Engineering and management measures (CR 1030-1 1995 + CR 1030-2 1995)《手臂振动 减少振动危害导则 工程和管理措施》.pdf DIN V 45695-1996 Hand-arm vibration - Guidelines for vibration hazards reduction - Engineering and management measures (CR 1030-1 1995 + CR 1030-2 1995)《手臂振动 减少振动危害导则 工程和管理措施》.pdf
  • 相关搜索

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

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