double a = 0.1 + 0.2:
double b = 0.3;
if(a != b)
System.out.print ( "Hey! ") ;
What’s the output of this Java snippet?

Posted on by