The difference between && short circuit and & logical AND

1. && Short-circuit AND:
Once it encounters an expression that results in false, it will not continue to perform the operation, and the result will be false directly

       2、&  逻辑与:
            不论中间的表达式结果如何,一定会运算完所有程序表达式才能得到结果

Guess you like

Origin blog.csdn.net/jq1223/article/details/112727042