Hi Folks,
In this code ,
package flowcontrol;
public class Fc12 {
public static void main(String[] args) {
if(-0.0==0)
{
System.out.println("HIII");
}
}
}
O/P : HIII
Why is the negative decimal zero equal to 0 ? Also even negative decimal zero equal to positive decimal zero ?
Can someone give me some pointers.
Thank you for your consideration.