A-A+

阅读以下程序 请写出输出结果_________ public class EqualsMet

2022-08-12 19:54:06 问答库 阅读 197 次

问题详情

阅读以下程序,请写出输出结果_________ 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
True

考点:结果,程序