题目内容

在主方法main中运行下列程序,其输出结果为。Integer n1 = new Integer(47);Integer n2 = new Integer(47);System.out.println(n1.equals(n2));

查看答案
更多问题

Map接口是从Collection接口继承而来的

A. 对
B. 错

以下转换是正确的:Integer i = (Integer.valueOf("926")).intValue();

A. 对
B. 错

以下转换是正确的:String s = (Double.valueOf("3.14159")).toString();

A. 对
B. 错

在集合中元素类型必须是相同的。

A. 对
B. 错

答案查题题库