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

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

1、计算机二级 JAVA-91 (1)及答案解析(总分:100.00,做题时间:90 分钟)一、简单应用题(总题数:3,分数:100.00)1.本程序的功能是用流式布局管理器来管理窗口上的按钮。在执行程序时指定生成按钮的个数,并把这些按钮放置在流式布局管理器管理的窗口中,如图所示。 (分数:30.00)_2.本程序中在窗口的中间显示了一个字符串“欢迎学习 Java!”,字符串的字体为黑体,样式为加粗并且为斜体,如图所示。 (分数:30.00)_3.本程序中,生成了一个窗口,该窗口的长、宽为屏幕长、宽的一半,并且窗口的大小不能改变,如图所示。 (分数:40.00)_计算机二级 JAVA-91 (1)

2、答案解析(总分: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)

展开阅读全文
相关资源
猜你喜欢
  • ISO 5699-1979 Agricultural machines implements and equipment Dimensions for mechanical loading with bulk goods《农业机械、农具和设备 散装货物机械装载尺寸》.pdf ISO 5699-1979 Agricultural machines implements and equipment Dimensions for mechanical loading with bulk goods《农业机械、农具和设备 散装货物机械装载尺寸》.pdf
  • ISO 570-1982 Textile machinery and accessories Heald carrying rods for healds with closed O -shaped end loops《纺织机械与附件 闭口“O”型综耳的综丝用的穿综杆》.pdf ISO 570-1982 Textile machinery and accessories Heald carrying rods for healds with closed O -shaped end loops《纺织机械与附件 闭口“O”型综耳的综丝用的穿综杆》.pdf
  • ISO 5700-2013 Tractors for agriculture and forestry - Roll-over protective structures - Static test method and acceptance conditions《农林用轮式拖拉机 倾翻保护结构(ROPS) 静态试验方.pdf ISO 5700-2013 Tractors for agriculture and forestry - Roll-over protective structures - Static test method and acceptance conditions《农林用轮式拖拉机 倾翻保护结构(ROPS) 静态试验方.pdf
  • ISO 5702-1983 Equipment for harvesting Combine harvester component parts Equivalent terms Trilingual edition《收割设备 联合收割机组合零件 等义术语 三种语言版》.pdf ISO 5702-1983 Equipment for harvesting Combine harvester component parts Equivalent terms Trilingual edition《收割设备 联合收割机组合零件 等义术语 三种语言版》.pdf
  • ISO 5703-1979 Equipment for vine cultivation and wine making Grape presses Methods of test《葡萄栽培和葡萄酒酿制设备 葡萄挤压机 试验方法》.pdf ISO 5703-1979 Equipment for vine cultivation and wine making Grape presses Methods of test《葡萄栽培和葡萄酒酿制设备 葡萄挤压机 试验方法》.pdf
  • ISO 5704-1980 Equipment for vine cultivation and wine making Grape-harvesting machinery Test methods《葡萄栽培和葡萄酒酿制设备 葡萄收割机 试验方法》.pdf ISO 5704-1980 Equipment for vine cultivation and wine making Grape-harvesting machinery Test methods《葡萄栽培和葡萄酒酿制设备 葡萄收割机 试验方法》.pdf
  • ISO 5708-1983 Refrigerated bulk milk tanks《大容积冷藏奶罐》.pdf ISO 5708-1983 Refrigerated bulk milk tanks《大容积冷藏奶罐》.pdf
  • ISO 5710-1980 Equipment for internal farm work and husbandry Continuous manure scraper conveyors for stalls《饲养场内部设备 粪便连续刮板输送机》.pdf ISO 5710-1980 Equipment for internal farm work and husbandry Continuous manure scraper conveyors for stalls《饲养场内部设备 粪便连续刮板输送机》.pdf
  • ISO 5711-1995 Tractors and machinery for agriculture and forestry - Wheel-to-hub fixing dimensions《农林用拖拉机和机械 把轮装在轮毂上的安装尺寸》.pdf ISO 5711-1995 Tractors and machinery for agriculture and forestry - Wheel-to-hub fixing dimensions《农林用拖拉机和机械 把轮装在轮毂上的安装尺寸》.pdf
  • 相关搜索

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

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