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

展开阅读全文
相关资源
猜你喜欢
  • GOST EN 15558-2013 Fertilizers Determination of nitric and ammoniacal nitrogen according to Ulsch selon《肥料 根据Ulsch selon的氮和氨态氮的测定》.pdf GOST EN 15558-2013 Fertilizers Determination of nitric and ammoniacal nitrogen according to Ulsch selon《肥料 根据Ulsch selon的氮和氨态氮的测定》.pdf
  • GOST EN 15559-2013 Fertilizers Determination of nitric and ammoniacal nitrogen according to Arnd《肥料 根据Arnd的氮和氨态氮的测定》.pdf GOST EN 15559-2013 Fertilizers Determination of nitric and ammoniacal nitrogen according to Arnd《肥料 根据Arnd的氮和氨态氮的测定》.pdf
  • GOST EN 15560-2013 Fertilizers Determination of total nitrogen in calcium cyanamide nitrate free《肥料 无硝酸盐的氰胺化钙中总氮含量的测定》.pdf GOST EN 15560-2013 Fertilizers Determination of total nitrogen in calcium cyanamide nitrate free《肥料 无硝酸盐的氰胺化钙中总氮含量的测定》.pdf
  • GOST EN 15561-2013 Fertilizers Determination of total nitrogen in calcium cyanamide containing nitrates《肥料 含硝酸盐的氰胺化钙中总氮含量的测定》.pdf GOST EN 15561-2013 Fertilizers Determination of total nitrogen in calcium cyanamide containing nitrates《肥料 含硝酸盐的氰胺化钙中总氮含量的测定》.pdf
  • GOST EN 15562-2013 Fertilizers Determination of cyanamide nitrogen《肥料 氰氨态氮的测定》.pdf GOST EN 15562-2013 Fertilizers Determination of cyanamide nitrogen《肥料 氰氨态氮的测定》.pdf
  • GOST EN 15570-2012 Furniture Hardware for furniture Strength and durability of hinges and their components Hinges pivoting on a vertical axis《家具 家具五金件 铰链及其部件的强度和耐久性 沿垂向轴旋转的铰链》.pdf GOST EN 15570-2012 Furniture Hardware for furniture Strength and durability of hinges and their components Hinges pivoting on a vertical axis《家具 家具五金件 铰链及其部件的强度和耐久性 沿垂向轴旋转的铰链》.pdf
  • GOST EN 15604-2013 Fertilizers Determination of different forms of nitrogen in the same sample nitric ammoniacal cyanamide and urea nitrogen《肥料 同一样品中氮的不同形态的测定 硝态氮 氨态氮 氨基腈氮和脲氮》.pdf GOST EN 15604-2013 Fertilizers Determination of different forms of nitrogen in the same sample nitric ammoniacal cyanamide and urea nitrogen《肥料 同一样品中氮的不同形态的测定 硝态氮 氨态氮 氨基腈氮和脲氮》.pdf
  • GOST EN 15706-2012 Hardware for furniture Strength and durability of slide fittings for sliding doors and roll fronts《家具五金件 推拉门和卷帘门滑动配件的强度和耐久性》.pdf GOST EN 15706-2012 Hardware for furniture Strength and durability of slide fittings for sliding doors and roll fronts《家具五金件 推拉门和卷帘门滑动配件的强度和耐久性》.pdf
  • GOST EN 15749-2013 Fertilizers Determination of sulfates content using three different methods《肥料 利用三种不同方法进行硫酸盐含量的测定》.pdf GOST EN 15749-2013 Fertilizers Determination of sulfates content using three different methods《肥料 利用三种不同方法进行硫酸盐含量的测定》.pdf
  • 相关搜索

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

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