x *= y + 1
means the same as: x *= (y + 1)
because [...], even though the operator’s first character is *, which would suggest a precedence higher than +.
Answer
*= is classified as an assignment operator whose precedence is lower than +
Tags
#odersky-programming-in-scala-2ed #scala
Question
x *= y + 1
means the same as: x *= (y + 1)
because [...], even though the operator’s first character is *, which would suggest a precedence higher than +.
Answer
?
Tags
#odersky-programming-in-scala-2ed #scala
Question
x *= y + 1
means the same as: x *= (y + 1)
because [...], even though the operator’s first character is *, which would suggest a precedence higher than +.
Answer
*= is classified as an assignment operator whose precedence is lower than +
If you want to change selection, open original toplevel document below and click on "Move attachment"
Parent (intermediate) annotation
Open it x *= y + 1
means the same as:
x *= (y + 1)
because *= is classified as an assignment operator whose precedence is lower than +, even though the operator’s first character is *, which would suggest a precedence higher than +.
Original toplevel document (pdf)
cannot see any pdfs
Summary
status
not learned
measured difficulty
37% [default]
last interval [days]
repetition number in this series
0
memorised on
scheduled repetition
scheduled repetition interval
last repetition or drill
Details
No repetitions
Discussion
Do you want to join discussion? Click here to log in or create user.