所以这是相等操作符,然而那个单等号是一个赋值运算符。
So this is the equality operator, whereas the single equal sign is the assignment operator.
And one of the things neophytes trip over early on is that we'll soon see there's not only an equal sign operator, there's equals equals.
这样我们还要引入了一个新的操作符,我们将看到这里不仅有一个等号的操作,还有双等号。
So this is the equality operator, whereas the single equal sign is the assignment operator.
所以这是相等操作符,然而那个单等号是一个赋值运算符。
Turns out with a Boolean expression, you don't have use the equality operator equals equals, you can just say what you mean.
结果用一个bool表达式,你不需要使用等号操作符“==“了,你只要说出你的意思。
应用推荐