Possible Duplicates:
logical operators in java
What's the difference between | and || in Java?
As the title says, I need to know the difference between &
operator and &&
operator.
Can anyone help me in simple words.
- How do they differ from each other?
- And which one to be used in a IF statement?