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

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

1、计算机二级 JAVA-92 (1)及答案解析(总分:100.00,做题时间:90 分钟)一、简单应用题(总题数:3,分数:100.00)1.本程序的功能是将图像“exam_36.gif”显示在窗口的正中间,并且设置窗口的颜色为白色,如图所示。(分数:30.00)_2.本程序的功能是监听列表的选择,并将选中的内容显示在文本域中。窗口中有一个文本域和一个支持多项选择的列表,当选中列表中的一项或多项时,文本域中就会分行显示所选项的索引值和值,如图所示。 (分数:30.00)_3.本程序分行打印输出了当前系统中所有字体的名称。 _; public class exam_38 public static

2、 void main (String args) String fontNames=GraphicsEnvironment .getLocalGraphicsEnvironment().getAvailableFontFamilyNames(); for (int i=0; _; i+) System.out.println(fontNamesi); (分数:40.00)_计算机二级 JAVA-92 (1)答案解析(总分:100.00,做题时间:90 分钟)一、简单应用题(总题数:3,分数:100.00)1.本程序的功能是将图像“exam_36.gif”显示在窗口的正中间,并且设置窗口的颜色为

3、白色,如图所示。(分数:30.00)_正确答案:()解析:第 1 处:getImage(“exam_36.gif“) 第 2 处:g.drawImage2.本程序的功能是监听列表的选择,并将选中的内容显示在文本域中。窗口中有一个文本域和一个支持多项选择的列表,当选中列表中的一项或多项时,文本域中就会分行显示所选项的索引值和值,如图所示。 (分数:30.00)_正确答案:()解析:第 1 处:i selectedCourses.length 第 2 处:tempSeletedText.toString()3.本程序分行打印输出了当前系统中所有字体的名称。 _; public class exam_38 public static void main (String args) String fontNames=GraphicsEnvironment .getLocalGraphicsEnvironment().getAvailableFontFamilyNames(); for (int i=0; _; i+) System.out.println(fontNamesi); (分数:40.00)_正确答案:()解析:第 1 处:import java.awt.* 第 2 处:i fontNames.length

展开阅读全文
相关资源
猜你喜欢
  • IEEE C37 46-2010 en Specifications for High-Voltage ( 1000 V) Expulsion and Current-Limiting Power Class Fuses and Fuse Disconnecting Switches《高压(1000 V)冲出式和电流限.pdf IEEE C37 46-2010 en Specifications for High-Voltage ( 1000 V) Expulsion and Current-Limiting Power Class Fuses and Fuse Disconnecting Switches《高压(1000 V)冲出式和电流限.pdf
  • IEEE C37 47-2011 en Specifications for High-Voltage ( 1000 V) Distribution Class Current-Limiting Type Fuses and Fuse Disconnecting Switches《高压(γ>1000 V)分布类限流器式.pdf IEEE C37 47-2011 en Specifications for High-Voltage ( 1000 V) Distribution Class Current-Limiting Type Fuses and Fuse Disconnecting Switches《高压(γ>1000 V)分布类限流器式.pdf
  • IEEE C37 48 1-2011 en Guide for the Application Operation and Coordination of High - Voltage ( 1000 V) Current-Limiting Fuses《高压(γ>1000 V)限流熔断器的应用 操作和协调的IEEE指南》.pdf IEEE C37 48 1-2011 en Guide for the Application Operation and Coordination of High - Voltage ( 1000 V) Current-Limiting Fuses《高压(γ>1000 V)限流熔断器的应用 操作和协调的IEEE指南》.pdf
  • IEEE C37 48-2005 en Guide for the Application Operation and Maintenance of High-Voltage Fuses Distribution Enclosed Single-Pole Air Switches Fuse Disconnecting .pdf IEEE C37 48-2005 en Guide for the Application Operation and Maintenance of High-Voltage Fuses Distribution Enclosed Single-Pole Air Switches Fuse Disconnecting .pdf
  • IEEE C37 53 1-1989 en American National Standard High-Voltage Current-Limiting Motor-Starter Fuses Conference Test Procedures (Replaces NEMA C37 53 1-1989).pdf IEEE C37 53 1-1989 en American National Standard High-Voltage Current-Limiting Motor-Starter Fuses Conference Test Procedures (Replaces NEMA C37 53 1-1989).pdf
  • IEEE C37 59 ERTA-2011 en Errata to Requirements for Conversion of Power Switchgear Equipment《电源开关装置和设备的转换用要求 勘误》.pdf IEEE C37 59 ERTA-2011 en Errata to Requirements for Conversion of Power Switchgear Equipment《电源开关装置和设备的转换用要求 勘误》.pdf
  • IEEE C37 59-2007 en Requirements for Conversion of Power Switchgear Equipment《电源开关装置和设备的转换用要求》.pdf IEEE C37 59-2007 en Requirements for Conversion of Power Switchgear Equipment《电源开关装置和设备的转换用要求》.pdf
  • IEEE C37 60-2012 en High-voltage switchgear and controlgear C Part 111 Automatic circuit reclosers and fault interrupters for alternating current systems up to .pdf IEEE C37 60-2012 en High-voltage switchgear and controlgear C Part 111 Automatic circuit reclosers and fault interrupters for alternating current systems up to .pdf
  • IEEE C37 63-2013 en Standard Requirements for Overhead Pad-Mounted Dry-Vault and Submersible Automatic Line Sectionalizers for Alternating Current Systems Up to.pdf IEEE C37 63-2013 en Standard Requirements for Overhead Pad-Mounted Dry-Vault and Submersible Automatic Line Sectionalizers for Alternating Current Systems Up to.pdf
  • 相关搜索

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

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