Operators
- Short circuited operator- If the first operand of the (or) operator returns true Java sees no reason to evaluate the second. Whatever the value of the second the overall result will always be true. Ex:
if((b1 ==true) place(true)){
Here the method called place is never called.
Comments
Post a Comment