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

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

1、计算机二级 JAVA-94 (1)及答案解析(总分:100.00,做题时间:90 分钟)一、简单应用题(总题数:3,分数:100.00)1.本程序监听用户对单选按钮的选择。窗口中有一个文字标签和一组单选按钮,选中任意一个单选按钮后,文字标签中将显示出你所做出的选择,例如你选择了“四川”,则文字标签将显示为“你来自四川?”,如图所示。 (分数:30.00)_2.本程序在窗口画了一个半圆形和一个六边形,半圆形的开口向左,如图所示。 (分数:30.00)_3.本程序的功能是监听对滑动条中滑块的拖动。窗口中有一个文本框和两个滑动条,滑动条一个水平放置一个垂直放置,拖动滑块时,文本框中显示滑块对应的值(

2、水平滑动条值的范围为 0100,垂直滑动条值的范围为 0120),如图所示。 (分数:40.00)_计算机二级 JAVA-94 (1)答案解析(总分:100.00,做题时间:90 分钟)一、简单应用题(总题数:3,分数:100.00)1.本程序监听用户对单选按钮的选择。窗口中有一个文字标签和一组单选按钮,选中任意一个单选按钮后,文字标签中将显示出你所做出的选择,例如你选择了“四川”,则文字标签将显示为“你来自四川?”,如图所示。 (分数:30.00)_正确答案:()解析:第 1 处:new ButtonGroup() 第 2 处:new JRadioButton(name, defaultRa

3、dio)2.本程序在窗口画了一个半圆形和一个六边形,半圆形的开口向左,如图所示。 (分数:30.00)_正确答案:()解析:第 1 处:g.drawArc 第 2 处:Polygon p = new Polygon()3.本程序的功能是监听对滑动条中滑块的拖动。窗口中有一个文本框和两个滑动条,滑动条一个水平放置一个垂直放置,拖动滑块时,文本框中显示滑块对应的值(水平滑动条值的范围为 0100,垂直滑动条值的范围为 0120),如图所示。 (分数:40.00)_正确答案:()解析:第 1 处:SwingConstants.VERTICAL 第 2 处:sourceSlider.getValue()

展开阅读全文
相关资源
猜你喜欢
  • BS EN 13481-5-2012 Railway applications Track Performance requirements for fastening systems Fastening systems for slab track with rail on the surface or rail embedded in a channel.pdf BS EN 13481-5-2012 Railway applications Track Performance requirements for fastening systems Fastening systems for slab track with rail on the surface or rail embedded in a channel.pdf
  • BS EN 13481-7-2012 Railway applications Track Performance requirements for fastening systems Special fastening systems for switches and crossings and check rails《铁路应用设施 轨道 紧固系统的性能要.pdf BS EN 13481-7-2012 Railway applications Track Performance requirements for fastening systems Special fastening systems for switches and crossings and check rails《铁路应用设施 轨道 紧固系统的性能要.pdf
  • BS EN 13481-8-2006 Railway applications - Track - Performance requirements for fastening systems - Fastening systems for track with heavy axle loads《轨道交通 轨道 紧固系统的性能要求 重轴荷载的轨道紧固系统》.pdf BS EN 13481-8-2006 Railway applications - Track - Performance requirements for fastening systems - Fastening systems for track with heavy axle loads《轨道交通 轨道 紧固系统的性能要求 重轴荷载的轨道紧固系统》.pdf
  • BS EN 13482-2013 Rubber hoses and hose assemblies for asphalt and bitumen Specification《沥青用橡胶软管及软管组件 规格》.pdf BS EN 13482-2013 Rubber hoses and hose assemblies for asphalt and bitumen Specification《沥青用橡胶软管及软管组件 规格》.pdf
  • BS EN 13483-2013 Rubber and plastic hoses and hose assemblies with internal vapour recovery for measured fuel dispensing systems Specification《已测量的燃料分配系统用带内部蒸气回收的橡胶和塑料软管和软管组件 规格》.pdf BS EN 13483-2013 Rubber and plastic hoses and hose assemblies with internal vapour recovery for measured fuel dispensing systems Specification《已测量的燃料分配系统用带内部蒸气回收的橡胶和塑料软管和软管组件 规格》.pdf
  • BS EN 13484-2012 Helmets for users of luges《摇柄工具使用者的安全帽》.pdf BS EN 13484-2012 Helmets for users of luges《摇柄工具使用者的安全帽》.pdf
  • BS EN 13485-2001 Thermometers for measuring the air and product temperature for the transport storage and distribution of chilled frozen deep-frozen quick-frozen food and ice cream.pdf BS EN 13485-2001 Thermometers for measuring the air and product temperature for the transport storage and distribution of chilled frozen deep-frozen quick-frozen food and ice cream.pdf
  • BS EN 13486-2002 Temperature recorders and thermometers for the transport storage and distribution of chilled frozen deep-frozen quick-frozen food and ice cream - Periodic verifica.pdf BS EN 13486-2002 Temperature recorders and thermometers for the transport storage and distribution of chilled frozen deep-frozen quick-frozen food and ice cream - Periodic verifica.pdf
  • BS EN 13487-2003 Heat exchangers - Forced convection air cooled refrigerant condensers and dry coolers - Sound measurement《热交换器 强制对流空气冷却制冷冷凝器和干燥冷却器 声音测量》.pdf BS EN 13487-2003 Heat exchangers - Forced convection air cooled refrigerant condensers and dry coolers - Sound measurement《热交换器 强制对流空气冷却制冷冷凝器和干燥冷却器 声音测量》.pdf
  • 相关搜索

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

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