0
Anyone could ask me what == means? What is the difference between = end == ?
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. ;)
+ 1
= is assignment operator
== and === differences are depends on what language youre using.
- 1
Are you serious Mike or this is a joke?
There are 1000s of websites explaining the difference