1.

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?

Answer»

ilation failyou can't COMPARE a DOUBLE and INTEGER



Discussion

No Comment Found