0

Anyone could ask me what == means? What is the difference between = end == ?

15th Jan 2019, 1:20 PM
Mike
3 odpowiedzi
+ 1
== is a boolean operater. For example: int number = 5; after that number = 5 because of "=" number == 5 --> equals number with 5 --> number = 5 return true, number != 5, return false edit: compares number with 5. not equals. sorry for my english. ;)
15th Jan 2019, 2:14 PM
Denise Roßberg
Denise Roßberg - avatar
+ 1
= is assignment operator == and === differences are depends on what language youre using.
15th Jan 2019, 1:46 PM
ShortCode
- 1
Are you serious Mike or this is a joke? There are 1000s of websites explaining the difference
15th Jan 2019, 1:35 PM
Skipper
Skipper - avatar