What is the result of the following code in Java?
Integer x = 1000;
Integer y = 1000;
System.out.println(x.equals(y));
A. `false`
B. Compilation error
C. `true`
D. Runtime error
Answer: Option C

Join The Discussion