boolean assignment if the

Analyzing the condition of {.....} if (flag = true) regardless of the flag is true or false is true in this

Analyzing the condition of {.....} if (flag = false) the flag is true or false regardless this is the false

But only with boolean when this is not the case of other types

Guess you like

Origin www.cnblogs.com/toomucherror/p/11257209.html