38
Answer (Choose 1 answer)
A. The program compiles and prints false
B. The program compiles and prints true
C. The compiler will show an error at line 7
D. The program compiles but causes a runtime exception at line 7
}
What will be the output of the following code?
1. public class integerEquals
123456789 4.5..7
}
public static void main (String args[])
{
Integer a= new Integer(0);Integer b= new Integer(0);
System.out.println(a==b);