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

Join The Discussion