public static void main(String[] args) {
//
Integer num1 = 66;
Long num2 = num1.longValue();
//
System.out.println("num1.equals(num2): " + num1.equals(num2));
System.out.println("num1==num2: " + (num1 == num2));
}
网友评论