阅读以下程序,请写出输出结果_________   public class EqualsMethod{   public static void main (String[]args){   Integer nl=new Integer (47):

admin2009-01-15  36

问题 阅读以下程序,请写出输出结果_________

  public class EqualsMethod{

  public static void main (String[]args){

  Integer nl=new Integer (47):

  Integer n2=new Integer (47);

  System.out.println(n1.equals(n2));

  }

选项

答案True

解析
转载请注明原文地址:https://kaotiyun.com/show/pmnp777K
0

最新回复(0)