Java simplify the syntax -
what terse way in java check following condition
int m, n;
the condition check whether either m or n negative both shouldn't negative. i'm looking terse yet simple syntax
(m < 0) ^ (n < 0)
note in context, ^
logical xor operator (yes, mean "logical", distinct "bitwise").
Comments
Post a Comment