欢迎来到麦多课文档分享! | 帮助中心 海量文档,免费浏览,给你所需,享你所想!
麦多课文档分享
全部分类
  • 标准规范>
  • 教学课件>
  • 考试资料>
  • 办公文档>
  • 学术论文>
  • 行业资料>
  • 易语言源码>
  • ImageVerifierCode 换一换
    首页 麦多课文档分享 > 资源分类 > DOC文档下载
    分享到微信 分享到微博 分享到QQ空间

    【计算机类职业资格】计算机Java认证-异常处理、使用类及其关系及答案解析.doc

    • 资源ID:1336860       资源大小:40KB        全文页数:4页
    • 资源格式: DOC        下载积分:5000积分
    快捷下载 游客一键下载
    账号登录下载
    微信登录下载
    二维码
    微信扫一扫登录
    下载资源需要5000积分(如需开发票,请勿充值!)
    邮箱/手机:
    温馨提示:
    如需开发票,请勿充值!快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如需开发票,请勿充值!如填写123,账号就是123,密码也是123。
    支付方式: 支付宝扫码支付    微信扫码支付   
    验证码:   换一换

    加入VIP,交流精品资源
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    【计算机类职业资格】计算机Java认证-异常处理、使用类及其关系及答案解析.doc

    1、计算机 Java认证-异常处理、使用类及其关系及答案解析(总分:12.00,做题时间:90 分钟)一、B不定项选择题/B(总题数:1,分数:12.00)Use the following code example for the next four questions:public class Client Address address;AccountNum accountNums;void setAddress(Address newAddress) address = newAddress;public Client() accountNums = new AccountNum2;acc

    2、ountNums0 = new AccountNum();accountNums1 = new AccountNum();(分数:12.00)(1).In the preceding code segment, what is the relationship of the Client object and the address variable? A. Direct association B. Temporary association C. Composition association D. Aggregation association(分数:2.40)A.B.C.D.(2).I

    3、n the preceding code segment, what is the relationship of the Client object and the accountNums variable? A. Direct association B. Temporary association C. Composition association D. Aggregation association(分数:2.40)A.B.C.D.(3).In the preceding code segment, what is the multiplicity between the Clien

    4、t object and the address variable? A. One-to-one B. One-to-many C. Many-to-many(分数:2.40)A.B.C.D.(4).In the preceding code segment, what is the multiplicity between the Client object and the accountNums variable? A. One-to-one B. One-to-many C. Many-to-many(分数:2.40)A.B.C.D.(5).Which of the following

    5、statements are true? (Choose all that apply.) A. Association navigation can be quad-directional. B. Association navigation can be bidirectional. C. Association navigation can have no direction. D. Association navigation can be unidirectional.(分数:2.40)A.B.C.D.计算机 Java认证-异常处理、使用类及其关系答案解析(总分:12.00,做题时间

    6、:90 分钟)一、B不定项选择题/B(总题数:1,分数:12.00)Use the following code example for the next four questions:public class Client Address address;AccountNum accountNums;void setAddress(Address newAddress) address = newAddress;public Client() accountNums = new AccountNum2;accountNums0 = new AccountNum();accountNums1

    7、= new AccountNum();(分数:12.00)(1).In the preceding code segment, what is the relationship of the Client object and the address variable? A. Direct association B. Temporary association C. Composition association D. Aggregation association(分数:2.40)A. B.C.D.解析:直接关联是最佳答案,因为从逻辑上来说,一个 Client对象有一个(“has an”)

    8、Address 对象。B、C 和 D不正确。(2).In the preceding code segment, what is the relationship of the Client object and the accountNums variable? A. Direct association B. Temporary association C. Composition association D. Aggregation association(分数:2.40)A.B.C. D.解析:这是一个组合关联,因为 Client对象由 AccountNum对象“组成”。这是一种强关系

    9、,因为Client对象维护 AccountNumber对象的生命周期。A、B 和 D不正确。(3).In the preceding code segment, what is the multiplicity between the Client object and the address variable? A. One-to-one B. One-to-many C. Many-to-many(分数:2.40)A. B.C.D.解析:因为没有数组或者集合涉及 Client对象或者 Address对象中的一个,这必须是一对一关系。B 和C不正确。B 不正确,因为 address变量是单个

    10、变量,因此不满足多个。C 不正确,因为 Client对象和address变量两者都不能认为是多个,因为它们都只有一个。(4).In the preceding code segment, what is the multiplicity between the Client object and the accountNums variable? A. One-to-one B. One-to-many C. Many-to-many(分数:2.40)A.B. C.D.解析:AccountNumber 对象数组应该是一对多的产物。A 和 C不正确。A 不正确,因为 accountNums变量是

    11、一个数组,因此必须是多个。C 不正确,因为只有一个 Client对象。(5).Which of the following statements are true? (Choose all that apply.) A. Association navigation can be quad-directional. B. Association navigation can be bidirectional. C. Association navigation can have no direction. D. Association navigation can be unidirectional.(分数:2.40)A.B. C.D. 解析:关系只能是单向的或者双向的。A 和 C不正确。A 不正确,因为不存在 4个方向的关系。B 不正确,因为不可能有一种关系没有方向。


    注意事项

    本文(【计算机类职业资格】计算机Java认证-异常处理、使用类及其关系及答案解析.doc)为本站会员(吴艺期)主动上传,麦多课文档分享仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知麦多课文档分享(点击联系客服),我们立即给予删除!




    关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

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

    收起
    展开