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

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

1、计算机二级 JAVA-158 (1)及答案解析(总分:100.00,做题时间:90 分钟)一、简单应用题(总题数:3,分数:100.00)1.本程序是一个 Applet,它的功能是在窗口上添加 1212 个标签,并且标签的颜色为黑白相间(横向和纵向都是黑白相间的),如图所示。 (分数:30.00)_2.本程序是一个 Applet,其功能是监听对复选框的选择。页面中有四个复选框,每个复选框代表一个方向的箭头标签,选中其中任意一个复选框后,被选中的复选框对应的箭头标签将添加到文本域中,然后将该复选框置于未选中状态,如图所示。 (分数:30.00)_3.本程序的功能是对下拉菜单项的操作,包括添加和删

2、除。页面中包括一个下拉菜单、一个文本框和两个按钮(“删除”和“添加”),选中下拉菜单的一项后,可以通过“删除”按钮从下拉菜单中删除该项,在文本框中填入字符串后,单击“添加”按钮就可以将该项添加到下拉菜单中,所有这些信息都将显示在右侧的文本域中,如图所示。 (分数:40.00)_计算机二级 JAVA-158 (1)答案解析(总分:100.00,做题时间:90 分钟)一、简单应用题(总题数:3,分数:100.00)1.本程序是一个 Applet,它的功能是在窗口上添加 1212 个标签,并且标签的颜色为黑白相间(横向和纵向都是黑白相间的),如图所示。 (分数:30.00)_正确答案:()解析:第

3、1 处:label 第 2 处:new Label()2.本程序是一个 Applet,其功能是监听对复选框的选择。页面中有四个复选框,每个复选框代表一个方向的箭头标签,选中其中任意一个复选框后,被选中的复选框对应的箭头标签将添加到文本域中,然后将该复选框置于未选中状态,如图所示。 (分数:30.00)_正确答案:()解析:第 1 处:implements ItemListener 第 2 处:box.getLabel()3.本程序的功能是对下拉菜单项的操作,包括添加和删除。页面中包括一个下拉菜单、一个文本框和两个按钮(“删除”和“添加”),选中下拉菜单的一项后,可以通过“删除”按钮从下拉菜单中删除该项,在文本框中填入字符串后,单击“添加”按钮就可以将该项添加到下拉菜单中,所有这些信息都将显示在右侧的文本域中,如图所示。 (分数:40.00)_正确答案:()解析:第 1 处:choice.getSelectedItem() 第 2 处:choice.getSelectedIndex()

展开阅读全文
相关资源
猜你喜欢
  • EN 12829-2011 en Surface active agents - Preparation of water with known calcium and magnesium hardness《表面活性剂 已知钙质和镁硬度水的制备 》.pdf EN 12829-2011 en Surface active agents - Preparation of water with known calcium and magnesium hardness《表面活性剂 已知钙质和镁硬度水的制备 》.pdf
  • EN 1283-1996 en Haemodialysers Haemodiafilters Haemofilters Haemoconcentrators and Their Extracorporeal Circuits《血液透析器 血液过滤器 血液滤净器和血液浓缩器以及它们体外循环装置》.pdf EN 1283-1996 en Haemodialysers Haemodiafilters Haemofilters Haemoconcentrators and Their Extracorporeal Circuits《血液透析器 血液过滤器 血液滤净器和血液浓缩器以及它们体外循环装置》.pdf
  • EN 12830-1999 en Temperature Recorders for the Transport Storage and Distribution of Chilled Frozen Deep-Frozen Quick-Frozen Food and Ice Cream - Tests Performance Suitability《冷藏 冷.pdf EN 12830-1999 en Temperature Recorders for the Transport Storage and Distribution of Chilled Frozen Deep-Frozen Quick-Frozen Food and Ice Cream - Tests Performance Suitability《冷藏 冷.pdf
  • EN 12831-1-2017 en Energy performance of buildings - Method for calculation of the design heat load - Part 1 Space heating load Module M3-3.pdf EN 12831-1-2017 en Energy performance of buildings - Method for calculation of the design heat load - Part 1 Space heating load Module M3-3.pdf
  • EN 12831-2003 en Heating systems in buildings - Method for calculation of the design heat load《建筑物供暖系统 设计热负荷的计算方法》.pdf EN 12831-2003 en Heating systems in buildings - Method for calculation of the design heat load《建筑物供暖系统 设计热负荷的计算方法》.pdf
  • EN 12831-3-2017 en Energy performance of buildings - Method for calculation of the design heat load - Part 3 Domestic hot water systems heat load and characterisation of needs Modu.pdf EN 12831-3-2017 en Energy performance of buildings - Method for calculation of the design heat load - Part 3 Domestic hot water systems heat load and characterisation of needs Modu.pdf
  • EN 12832-1999 en Characterisation of Sludges - Utilisation and Disposal of Sludges - Vocabulary《污泥的特性 污泥的利用和处置 词汇》.pdf EN 12832-1999 en Characterisation of Sludges - Utilisation and Disposal of Sludges - Vocabulary《污泥的特性 污泥的利用和处置 词汇》.pdf
  • EN 12833-2001 en Skylight and Conservatory Roller Shutters - Resistance to Snow Load - Test Method《天窗和温室滚动遮板 耐雪荷载性的试验方法》.pdf EN 12833-2001 en Skylight and Conservatory Roller Shutters - Resistance to Snow Load - Test Method《天窗和温室滚动遮板 耐雪荷载性的试验方法》.pdf
  • EN 12834-2003 en Road transport and traffic telematics Dedicated Short Range Communication (DSRC) DSRC application layer《道路运输和交通远程信息管理 专用短程通信(DSRC) DSRC应用层》.pdf EN 12834-2003 en Road transport and traffic telematics Dedicated Short Range Communication (DSRC) DSRC application layer《道路运输和交通远程信息管理 专用短程通信(DSRC) DSRC应用层》.pdf
  • 相关搜索

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

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