ExamVeda
Login
Home
This question belongs to Java Program Java Autoboxing
Java Autoboxing
?

What is the result of the following code in Java?
Double x = 3.5;
Double y = 3.5;
System.out.println(x.equals(y));

Answer & Solution
Correct Answer: Option B
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.