Hi there
This is my code
public class Autoboxing {
public static void main(String[] args) {
double x2 = 0.0/0.0, y2 = 0.0/0.0;
Double a2 = x2, b2 = y2;
StdOut.println(x2 == y2);
StdOut.println(!a2.equals(b2));
}}
its Output is :
false
false
I am expecting
true
false
Anonymous User
28-Apr-2015