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

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

1、计算机二级 JAVA-155 (1)及答案解析(总分:100.00,做题时间:90 分钟)一、简单应用题(总题数:3,分数:100.00)1.本程序是一个 Applet,其中有两个文本域,在第一个文本域中文本的最后插入了字符串“语言”,并将该文本域中的所有字符选中,第二个文本域中选中“请使用教程Java 语言程序设计”,如图所示。(分数:30.00)_2.本程序是一个 Applet,页面中有两个文本域,当左侧文本域中的文本发生变化时,该文本域中的文本以行为单位按从小到大排列在右边的文本域中,如图所示。 (分数:30.00)_3.本程序是一个 Applet,其中继承 Button 类定义了一个竖

2、按钮类,单击按钮,则循环改变按钮的背景色,如图所示。 (分数:40.00)_计算机二级 JAVA-155 (1)答案解析(总分:100.00,做题时间:90 分钟)一、简单应用题(总题数:3,分数:100.00)1.本程序是一个 Applet,其中有两个文本域,在第一个文本域中文本的最后插入了字符串“语言”,并将该文本域中的所有字符选中,第二个文本域中选中“请使用教程Java 语言程序设计”,如图所示。(分数:30.00)_正确答案:()解析:第 1 处:text1.getText().length() 第 2 处:22.本程序是一个 Applet,页面中有两个文本域,当左侧文本域中的文本发生变化时,该文本域中的文本以行为单位按从小到大排列在右边的文本域中,如图所示。 (分数:30.00)_正确答案:()解析:第 1 处:text1.addTextListener(this) 第 2 处:textValueChanged(TextEvent e)3.本程序是一个 Applet,其中继承 Button 类定义了一个竖按钮类,单击按钮,则循环改变按钮的背景色,如图所示。 (分数:40.00)_正确答案:()解析:第 1 处:extends Button implements ActionListener 第 2 处:addActionListener(this)

展开阅读全文
相关资源
猜你喜欢
  • ANSI ISO IEC 8632-1-1999 Information technology Computer graphics Metafile for the storage and transfer of picture description information Part 1 Functional specification (Adopted .pdf ANSI ISO IEC 8632-1-1999 Information technology Computer graphics Metafile for the storage and transfer of picture description information Part 1 Functional specification (Adopted .pdf
  • ANSI ISO IEC 8632-3-1999 Information Technology - Computer Graphics - Metafile for the Storage and Transfer of Picture Description Information - Part 3 Binary Encoding (Adopted by .pdf ANSI ISO IEC 8632-3-1999 Information Technology - Computer Graphics - Metafile for the Storage and Transfer of Picture Description Information - Part 3 Binary Encoding (Adopted by .pdf
  • ANSI ISO IEC 8632-4-1999 Information technology Computer graphics Metafile for the storage and transfer of picture description information Part 4 Clear text encoding (Adopted by IN.pdf ANSI ISO IEC 8632-4-1999 Information technology Computer graphics Metafile for the storage and transfer of picture description information Part 4 Clear text encoding (Adopted by IN.pdf
  • ANSI ISO IEC 8652-1995 for Information Technology - Programming Languages - Ada (Adopted by INCITS)《信息技术.编程语言.INCITS采纳的Ada语言》.pdf ANSI ISO IEC 8652-1995 for Information Technology - Programming Languages - Ada (Adopted by INCITS)《信息技术.编程语言.INCITS采纳的Ada语言》.pdf
  • ANSI ISO IEC 8824-1-1998 Information technology Abstract Syntax Notation One (ASN.1) Specification of basic notation Adopted by INCITS Amendment 2 10 15 2000《信息技术.抽象语法记法1(ASN.1) IN.pdf ANSI ISO IEC 8824-1-1998 Information technology Abstract Syntax Notation One (ASN.1) Specification of basic notation Adopted by INCITS Amendment 2 10 15 2000《信息技术.抽象语法记法1(ASN.1) IN.pdf
  • ANSI ISO IEC 8824-4-1998 Information technology Abstract Syntax Notation One (ASN.1) Parameterization of ASN.1 specifications Adopted by INCITS Amendment 1 12 01 2000《信息技术.抽象语法记法1(.pdf ANSI ISO IEC 8824-4-1998 Information technology Abstract Syntax Notation One (ASN.1) Parameterization of ASN.1 specifications Adopted by INCITS Amendment 1 12 01 2000《信息技术.抽象语法记法1(.pdf
  • ANSI ISO IEC 8825-1-1998 Information technology ASN.1 encoding rules Specification of Basic Encoding Rules (BER) Canonical Encoding Rules (CER) and Distinguished Encoding Rules (DE.pdf ANSI ISO IEC 8825-1-1998 Information technology ASN.1 encoding rules Specification of Basic Encoding Rules (BER) Canonical Encoding Rules (CER) and Distinguished Encoding Rules (DE.pdf
  • ANSI ISO IEC 8825-2-1998 Information technology ASN.1 encoding rules Specification of Packed Encoding Rules (PER) Adopted by INCITS Amendment 1 12 01 2000《信息技术.ASN.1编码规则 INCITS采用的包.pdf ANSI ISO IEC 8825-2-1998 Information technology ASN.1 encoding rules Specification of Packed Encoding Rules (PER) Adopted by INCITS Amendment 1 12 01 2000《信息技术.ASN.1编码规则 INCITS采用的包.pdf
  • ANSI ISO IEC 9070-1991 Information technology - SGML support facilities - Registration procedures for public text owner identifiers (Adopted by INCITS)《信息技术.标准通用标示语言(SGML)支持设施.INCI.pdf ANSI ISO IEC 9070-1991 Information technology - SGML support facilities - Registration procedures for public text owner identifiers (Adopted by INCITS)《信息技术.标准通用标示语言(SGML)支持设施.INCI.pdf
  • 相关搜索

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

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