Originally posted by levani dvalishvili: I think that comes from C, as I remember correctly in C, if you say
it means same as
so from this point of view it makes sence , but ... again java is not C ..
Careful, 123 is a literal int, not a variable. Can a literal integer value be equivilant to true or false? a boolean variable can only be assigned true or false. 123 is not a legit variable name; boolean 123 = true; //will not compile.