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

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

1、计算机二级 JAVA-86及答案解析(总分:100.00,做题时间:90 分钟)一、综合应用题(总题数:3,分数:100.00)1.本程序的功能是监听对于弹出窗口的操作。在窗口中单击鼠标右键,就会在单击的地方弹出一个对话框,对话框中有一个滑动条和两个复选框,通过复选框可以控制滑动条是否显示刻度线和数值,当用鼠标左键单击主窗口的其他地方时,对话框将消失,同时后台打印出对话框中滑动条的数值,如图所示。 (分数:33.00)_2.本程序的功能是用表格的形式列出当前目录所有的文件以及属性,包括是否是文件夹、文件名称、是否可读、是否可写、文件大小以及最后修改时间,如图所示。 (分数:33.00)_3.本

2、程序的功能是监听对表格的选择。窗口中有一个表格、三个复选框和两个文字标签,复选框指定的是当前进行的选取是单元还是行或者是列,文字标签显示当前所选的行或列数,如图所示。 (分数:34.00)_计算机二级 JAVA-86答案解析(总分:100.00,做题时间:90 分钟)一、综合应用题(总题数:3,分数:100.00)1.本程序的功能是监听对于弹出窗口的操作。在窗口中单击鼠标右键,就会在单击的地方弹出一个对话框,对话框中有一个滑动条和两个复选框,通过复选框可以控制滑动条是否显示刻度线和数值,当用鼠标左键单击主窗口的其他地方时,对话框将消失,同时后台打印出对话框中滑动条的数值,如图所示。 (分数:3

3、3.00)_正确答案:()解析:第 1处:popup=new JPopupMenu() 第 2处:popup.show(advance.this, e.getX(), e.getY() 第 3处:theValue = slider.getValue()2.本程序的功能是用表格的形式列出当前目录所有的文件以及属性,包括是否是文件夹、文件名称、是否可读、是否可写、文件大小以及最后修改时间,如图所示。 (分数:33.00)_正确答案:()解析:第 1处:Class types = new Class 第 2处:public Object getValueAt(int r, int c) 第 3处:String files = dir.list()3.本程序的功能是监听对表格的选择。窗口中有一个表格、三个复选框和两个文字标签,复选框指定的是当前进行的选取是单元还是行或者是列,文字标签显示当前所选的行或列数,如图所示。 (分数:34.00)_正确答案:()解析:第 1处:buttonPanel = new JPanel() 第 2处:public class SelectionDebugger implements ListSelectionListener 第 3处:protected int getSelectedIndices(int start, int stop)

展开阅读全文
相关资源
猜你喜欢
  • UL 845-2005 UL Standard for Safety Motor Control Centers (Fifth Edition Reprint with Revisions Through and Including July 15 2011)《电动机控制中心》.pdf UL 845-2005 UL Standard for Safety Motor Control Centers (Fifth Edition Reprint with Revisions Through and Including July 15 2011)《电动机控制中心》.pdf
  • UL 852-2008 UL Standard for Safety Metallic Sprinkler Pipe for Fire Protection Service (Second Edition Reprint with Revisions Through and Including August 23 2018)《消防保护服务用金属喷淋管道》.pdf UL 852-2008 UL Standard for Safety Metallic Sprinkler Pipe for Fire Protection Service (Second Edition Reprint with Revisions Through and Including August 23 2018)《消防保护服务用金属喷淋管道》.pdf
  • UL 852-2008 UL Standard for Safety Metallic Sprinkler Pipe for Fire Protection Service (Second Edition Reprint with Revisions Through and Including November 17 2014)《消防保护服务用金属喷淋管道》.pdf UL 852-2008 UL Standard for Safety Metallic Sprinkler Pipe for Fire Protection Service (Second Edition Reprint with Revisions Through and Including November 17 2014)《消防保护服务用金属喷淋管道》.pdf
  • UL 854-2004 UL Standard for Safety Service-Entrance Cables (Eleventh Edition Reprint with Revisions Through and Including November 18 2014)《用户进线电缆》.pdf UL 854-2004 UL Standard for Safety Service-Entrance Cables (Eleventh Edition Reprint with Revisions Through and Including November 18 2014)《用户进线电缆》.pdf
  • UL 857-2009 UL Standard for Safety Busways (Thirteenth Edition Reprint with Revisions Through and Including August 23 2016)《母线管道》.pdf UL 857-2009 UL Standard for Safety Busways (Thirteenth Edition Reprint with Revisions Through and Including August 23 2016)《母线管道》.pdf
  • UL 858 CRD-2017 UL Standard for Safety Household Electric Ranges - Section  Paragraph Reference 59 7 Subject Thermal aging test (Edition 16 November 7 2014).pdf UL 858 CRD-2017 UL Standard for Safety Household Electric Ranges - Section Paragraph Reference 59 7 Subject Thermal aging test (Edition 16 November 7 2014).pdf
  • UL 858 CRD-2018 UL Standard for Safety Household Electric Ranges - Section  Paragraph Reference 47 9 47 10 47 11 87 17 Table SB5 1 Subject Assisted  Closed Loop Cooking for Inducti.pdf UL 858 CRD-2018 UL Standard for Safety Household Electric Ranges - Section Paragraph Reference 47 9 47 10 47 11 87 17 Table SB5 1 Subject Assisted Closed Loop Cooking for Inducti.pdf
  • UL 858-2014 UL Standard for Safety Household Electric Ranges (Sixteenth Edition Reprint with revisions through and including June 4 2018)《家用电灶范围的UL安全标准 (第16版 通过和包括2015年6月18日的修订再版)》.pdf UL 858-2014 UL Standard for Safety Household Electric Ranges (Sixteenth Edition Reprint with revisions through and including June 4 2018)《家用电灶范围的UL安全标准 (第16版 通过和包括2015年6月18日的修订再版)》.pdf
  • UL 858A-2007 UL Standard for Safety Safety-Related Solid-State Controls for Household Electric Ranges (Third Edition Reprint with revisions through and including December 17 2013)《.pdf UL 858A-2007 UL Standard for Safety Safety-Related Solid-State Controls for Household Electric Ranges (Third Edition Reprint with revisions through and including December 17 2013)《.pdf
  • 相关搜索

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

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