欢迎来到易学考试网 易学考试官网
全部科目 > Java认证考试 > SCJP程序员认证考试

多项选择题

Given two collection objects referenced by col1 and col2,which of these statements are true?()

    A.The operation col1.retainAll(col2) will not modify the col1 object.
    B.The operation col1.removeAll(col2) will not modify the col2 object.
    C.The operation col1.addAll(col2) will return a new collection object, containing elements from both col1      and col2.
    D.The operation col1.containsAll(Col2) will not modify the col1 object.

点击查看答案&解析

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题