0
What is the output of the following Java program?
public class Main {
public static void main(String[] args) {
Integer a = 127, b = 127, c = 128, d = 128;
System.out.println((a == b) + " " + (c == d) + " " + c.equals(d));
}
}- Atrue false true
- Btrue true true
- Cfalse false true
- Dtrue false false
Correct answer: A