Calculate it. Question from Introduction to OOP concept
Plz don't spam
Attachments:

Answers
Answered by
1
Answer:
x += x++ + x + ++y
⇒ x = x + (x++ + x + ++y)
⇒ x = 7 + (7 + 8 + 6)
⇒ x = 7 + 21
⇒ x = 28
Answered by
1
++ is an opretor in java which increases the value by one
-- is an opretor in java which decreases the value by one
%
This symbol in java is called modulus which gives the remainder.
The answer should be 11.
Mark me Brainliest
Attachments:

Similar questions