0
why there is double equals sign in the boolean
3 odpowiedzi
+ 3
As a check for equality.
+ 1
Single equal sign(=) is for assigning value and
Double equal sign (==) is for comparing values which are in both the sides of this sign
0
There is a double equal sign in boolean so as to differentiate between assigning a value and comparing a value.