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

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

1、计算机二级 JAVA-146 (1)及答案解析(总分:100.00,做题时间:90 分钟)一、简单应用题(总题数:3,分数:100.00)1.本程序中,窗口的背景色为系统桌面的颜色,在窗口中分别画了空心和实心的黑色矩形、深灰色圆角矩形和浅灰色椭圆形,并且画了白色粗体的“欢迎学习 Java!”字符串。 (分数:30.00)_2.本程序中监听下拉菜单中项的选择。窗口中有一个下拉菜单和一个文本框,当选中下拉菜单中一个选项“红、橙、黄、绿、蓝、靛、紫”时,文本框中就会询问你是否喜欢这种颜色,如图所示。 (分数:30.00)_3.本程序中,主窗口有一个“退出”按钮,单击该按钮将弹出一个有“确定”与“取消

2、按钮的对话框,窗口的标题是“Logout”,单击“确定”按钮后退出程序,否则将返回主窗口,如图所示。 (分数:40.00)_计算机二级 JAVA-146 (1)答案解析(总分:100.00,做题时间:90 分钟)一、简单应用题(总题数:3,分数:100.00)1.本程序中,窗口的背景色为系统桌面的颜色,在窗口中分别画了空心和实心的黑色矩形、深灰色圆角矩形和浅灰色椭圆形,并且画了白色粗体的“欢迎学习 Java!”字符串。 (分数:30.00)_正确答案:()解析:第 1 处:super.paintComponent(g) 第 2 处:Font.BOLD2.本程序中监听下拉菜单中项的选择。窗口中

3、有一个下拉菜单和一个文本框,当选中下拉菜单中一个选项“红、橙、黄、绿、蓝、靛、紫”时,文本框中就会询问你是否喜欢这种颜色,如图所示。 (分数:30.00)_正确答案:()解析:第 1 处:jobsBox = new JComboBox() 第 2 处:(String)selectedJob3.本程序中,主窗口有一个“退出”按钮,单击该按钮将弹出一个有“确定”与“取消”按钮的对话框,窗口的标题是“Logout”,单击“确定”按钮后退出程序,否则将返回主窗口,如图所示。 (分数:40.00)_正确答案:()解析:第 1 处:new LogoutAction() 第 2 处:System.exit(0)

展开阅读全文
相关资源
猜你喜欢
  • ITU-R M 828-2 SPANISH-2006 Definition of availability for radiocommunication circuits in the mobile-satellite service《移动卫星业务中无线电通信电路的有效性定义》.pdf ITU-R M 828-2 SPANISH-2006 Definition of availability for radiocommunication circuits in the mobile-satellite service《移动卫星业务中无线电通信电路的有效性定义》.pdf
  • ITU-R M 828-2-2006 Definition of availability for radiocommunication circuits in the mobile-satellite service《移动卫星业务中电波通信电路可用性定义》.pdf ITU-R M 828-2-2006 Definition of availability for radiocommunication circuits in the mobile-satellite service《移动卫星业务中电波通信电路可用性定义》.pdf
  • ITU-R M 830-1 FRENCH-2005 Operational procedures for mobile-satellite networks or systems in the bands 1 530-1 544 MHz and 1 626 5-1 645 5 MHz which are used for distress and safet.pdf ITU-R M 830-1 FRENCH-2005 Operational procedures for mobile-satellite networks or systems in the bands 1 530-1 544 MHz and 1 626 5-1 645 5 MHz which are used for distress and safet.pdf
  • ITU-R M 830-1 SPANISH-2005 Operational procedures for mobile-satellite networks or systems in the bands 1 530-1 544 MHz and 1 626 5-1 645 5 MHz which are used for distress and safe.pdf ITU-R M 830-1 SPANISH-2005 Operational procedures for mobile-satellite networks or systems in the bands 1 530-1 544 MHz and 1 626 5-1 645 5 MHz which are used for distress and safe.pdf
  • ITU-R M 830-1-2005 Operational procedures for mobile-satellite networks or systems in the bands 1 530-1 544 MHz and 1 626 5-1 645 5 MHz which are used for distress and safety purpo.pdf ITU-R M 830-1-2005 Operational procedures for mobile-satellite networks or systems in the bands 1 530-1 544 MHz and 1 626 5-1 645 5 MHz which are used for distress and safety purpo.pdf
  • ITU-R OPINION 14-7-1993 Preferred Radio-Frequency Channel Arrangements for Radio-Relay Links for International Connections《无线接口国际联接特有的无线电频率的渠道安排》.pdf ITU-R OPINION 14-7-1993 Preferred Radio-Frequency Channel Arrangements for Radio-Relay Links for International Connections《无线接口国际联接特有的无线电频率的渠道安排》.pdf
  • ITU-R OPINION 15-3-1974 Broadcasting in the 26 MHz Band《26 MHz广播波段》.pdf ITU-R OPINION 15-3-1974 Broadcasting in the 26 MHz Band《26 MHz广播波段》.pdf
  • ITU-R OPINION 16-3-1986 Organizations Qualified to Set Standards on Sound and Television Recording《组织授权第11研究组为声音和电视记录设立标准》.pdf ITU-R OPINION 16-3-1986 Organizations Qualified to Set Standards on Sound and Television Recording《组织授权第11研究组为声音和电视记录设立标准》.pdf
  • ITU-R OPINION 2-2-1990 COOPERATION WITH THE INTERNATIONAL SPECIAL COMMITTEE ON RADIO INTERFERENCE《国际专门委员会关于无线接口问题的合作 关于4 1 10 1 35 1 46 1 57 1和81 1》.pdf ITU-R OPINION 2-2-1990 COOPERATION WITH THE INTERNATIONAL SPECIAL COMMITTEE ON RADIO INTERFERENCE《国际专门委员会关于无线接口问题的合作 关于4 1 10 1 35 1 46 1 57 1和81 1》.pdf
  • 相关搜索

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

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