+ 1
Why this output is 'True'?
Boolean value = -0.0==0.0; System.out.print(value); //Output True
3 Réponses
+ 3
Because zero is zero. There is no positive or negative zero.
0
Yes 0 = 0
That is call 0 multi 0 = 0
No positive and no negative
Right answer true
0
Rishab bhai