Computer Science, asked by georaj3729, 1 year ago

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 Akash02
0
C. Compilation fail
you can't compare a double and integer
Similar questions