Why doesn't the && = operator exist?

(a && b) has the same meaning as (a & b) , but with && the expression b not executed if a is false. There is also the & = operator in Java. a &= b matches a = a & b .

Question: Why is there no && = operator, at least in Java. Is there any reason why I would not make sense to have her, or simply that no one cares or needs her?

+4
java operators bitwise-operators logic
01 Oct '09 at 17:35
source share

No one has answered this question yet.

See similar questions:

61
Why doesn't Java have composite versions of conditional and conditional statements or statements? (&& =, || =)
fourteen
&& = and || = operators

or similar:

23498
Why is processing a sorted array faster than processing an unsorted array?
8499
What is the "->" operator in C ++?
6549
Why is the subtraction of these two times (in 1927) giving a strange result?
5670
Which operator is equal (== vs ===) should be used in comparing JavaScript?
5504
Does Python have a ternary conditional operator?
4270
Link. What does this symbol mean in PHP?
3486
Why do Java + =, - =, * =, / = assignment operators do not require casting?
2743
What is it!! (non) operator in JavaScript?
1994
What are the basic rules and idioms for operator overloading?
1455
What makes C ??! ??! operator?



All Articles