What will be the output of the program? Class equals { public static void main(string [] args) { int x = 100; double y = 100.1; boolean b = (x = y); system.Out.Println(b); } }
a.True
b.False
c.Compilation fails
d.An excep?
Answers
Answered by
0
C. Compilation fail
you can't compare a double and integer
you can't compare a double and integer
Similar questions