A proble about the symbol of "&" and "&&"
Hello,
I don't know what the difference between& and&&.who can tell me the difference between them.
Thanks very much!!!
yours
Icepoint
Hello,
I don't know what the difference between& and&&.who can tell me the difference between them.
Thanks very much!!!
yours
Icepoint
feed my child you are weak
http://java.sun.com/docs/books/tutorial/java/nutsandbolts/operators.html
& is a logical operator and && is is a joining operator.
We can use & in circuit operations,in bitwise operations.
&& is used to see if two boolean expressions are true at the same time in an expression.