0
What does this error mean
2 Answers
+ 8
I think you've missed the difference between == and =.
+ 2
Java conditions must be boolean types. So if (i=1) is wrong, not condition but if( i==1) is correct way..
1||1 is not supports. int || int is wrong.
true || false is valid.