0

why there is double equals sign in the boolean

4th Sep 2020, 6:21 AM
Ajinkya
Ajinkya - avatar
3 Answers
+ 3
As a check for equality.
5th Sep 2020, 11:05 PM
Sonic
Sonic - avatar
+ 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
4th Sep 2020, 8:00 AM
Giriraj Yalpalwar
Giriraj Yalpalwar - avatar
0
There is a double equal sign in boolean so as to differentiate between assigning a value and comparing a value.
4th Sep 2020, 6:52 AM
Ritu Pal