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

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

1、计算机二级 JAVA-96 (1)及答案解析(总分:100.00,做题时间:90 分钟)一、简单应用题(总题数:3,分数:100.00)1.本程序是一个 Applet,它显示了一个树型结构。单击树节点时,就能将其子节点展开,同时下面的文本框可以显示出所单击节点的路径,如单击根节点下 B 节点中的 B2 节点,则文本框显示为“TOP,B,B2”,如图所示。 (分数:30.00)_2.本程序是一个 Applet,它用一个表格的形式显示了一个用户群的信息,包括姓名、电话和年龄,如图所示。 (分数:30.00)_3.本程序中,主窗口有一个按钮“登录”,单击该按钮后显示一个标题为“Login”的对话框,

2、对话框中有“用户名”和“密码”两个文本框,以及“确定”和“撤销”两个按钮,如果单击“确定”按钮后返回主窗口,并将输入的用户名和密码在后台打印出来,否则直接返回主窗口,如图所示。 (分数:40.00)_计算机二级 JAVA-96 (1)答案解析(总分:100.00,做题时间:90 分钟)一、简单应用题(总题数:3,分数:100.00)1.本程序是一个 Applet,它显示了一个树型结构。单击树节点时,就能将其子节点展开,同时下面的文本框可以显示出所单击节点的路径,如单击根节点下 B 节点中的 B2 节点,则文本框显示为“TOP,B,B2”,如图所示。 (分数:30.00)_正确答案:()解析:第

3、 1 处:DefaultMutableTreeNode 第 2 处:TreePath2.本程序是一个 Applet,它用一个表格的形式显示了一个用户群的信息,包括姓名、电话和年龄,如图所示。 (分数:30.00)_正确答案:()解析:第 1 处:Object 第 2 处:new JTable(data,colHeads)3.本程序中,主窗口有一个按钮“登录”,单击该按钮后显示一个标题为“Login”的对话框,对话框中有“用户名”和“密码”两个文本框,以及“确定”和“撤销”两个按钮,如果单击“确定”按钮后返回主窗口,并将输入的用户名和密码在后台打印出来,否则直接返回主窗口,如图所示。 (分数:40.00)_正确答案:()解析:第 1 处:new JPasswordField() 第 2 处:tfPassword.getPassword()

展开阅读全文
相关资源
猜你喜欢
  • TCVN 7144-3-2007 Reciprocating internal combustion engines Performance Part 3 Test measurements《往复式内燃机 性能 第3部分 试验测量》.pdf TCVN 7144-3-2007 Reciprocating internal combustion engines Performance Part 3 Test measurements《往复式内燃机 性能 第3部分 试验测量》.pdf
  • TCVN 7144-5-2008 Reciprocating internal combustion engines Performance Part 5 Torsional vibrations《往复式内燃机 性能 第5部分 扭转振动》.pdf TCVN 7144-5-2008 Reciprocating internal combustion engines Performance Part 5 Torsional vibrations《往复式内燃机 性能 第5部分 扭转振动》.pdf
  • TCVN 7144-6-2002 Reciprocating internal combustion engines Performance Part 6 Overspeed protection《往复式内燃机 性能 第6部分 超速防护》.pdf TCVN 7144-6-2002 Reciprocating internal combustion engines Performance Part 6 Overspeed protection《往复式内燃机 性能 第6部分 超速防护》.pdf
  • TCVN 7145-2003 Rules for the tonnage measurement of sea-going ships《海船的吨位测定规则》.pdf TCVN 7145-2003 Rules for the tonnage measurement of sea-going ships《海船的吨位测定规则》.pdf
  • TCVN 7146-1-2002 Ceramic ware glass-ceramic ware and glass dinnerware in contact with food Release of lead and cadmium Part 1 Test method《与食物接触的陶瓷制品 微晶玻璃和玻璃餐具制品 铅镉溶出量 第1部分 试验方法》.pdf TCVN 7146-1-2002 Ceramic ware glass-ceramic ware and glass dinnerware in contact with food Release of lead and cadmium Part 1 Test method《与食物接触的陶瓷制品 微晶玻璃和玻璃餐具制品 铅镉溶出量 第1部分 试验方法》.pdf
  • TCVN 7146-2-2002 Ceramic ware glass-ceramic ware and glass dinnerware in contact with food Release of lead and cadmium Part 2 Permissible limits《与食物接触的陶瓷制品 微晶玻璃和玻璃餐具制品 铅镉溶出量 第2部分 容.pdf TCVN 7146-2-2002 Ceramic ware glass-ceramic ware and glass dinnerware in contact with food Release of lead and cadmium Part 2 Permissible limits《与食物接触的陶瓷制品 微晶玻璃和玻璃餐具制品 铅镉溶出量 第2部分 容.pdf
  • TCVN 7147-1-2002 Glass hollowware in contact with food Release of lead and cadmium Part 1 Test method《与食物接触的玻璃空心制品 铅镉溶出量 第1部分 试验方法》.pdf TCVN 7147-1-2002 Glass hollowware in contact with food Release of lead and cadmium Part 1 Test method《与食物接触的玻璃空心制品 铅镉溶出量 第1部分 试验方法》.pdf
  • TCVN 7147-2-2002 Glass hollowware in contact with food Release of lead and cadmium Part 2 Permissible limits《与食物接触的玻璃空心制品 铅镉溶出量 第2部分 容许限值》.pdf TCVN 7147-2-2002 Glass hollowware in contact with food Release of lead and cadmium Part 2 Permissible limits《与食物接触的玻璃空心制品 铅镉溶出量 第2部分 容许限值》.pdf
  • TCVN 7148-1-2002 Ceramic cookware in contact with food Release of lead and cadmium Part 1 Method of test《与食物接触的陶瓷空心制品 铅镉溶出量 第1部分 试验方法》.pdf TCVN 7148-1-2002 Ceramic cookware in contact with food Release of lead and cadmium Part 1 Method of test《与食物接触的陶瓷空心制品 铅镉溶出量 第1部分 试验方法》.pdf
  • 相关搜索

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

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