&& java
Condition1 && Condition2 // returns true if both the conditions are true.
&& vs & in java
con1 & con2 // evaluates both conditions be it true or false con1 && con2 // evaluates second condition only if con1 is false
Source: stackoverflow.com