Computer Science, asked by pankajsaini22877, 3 months ago

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

Attachments:

Answers

Answered by bharatpatadia74
1

Answer:

 x += x++ + x + ++y

⇒ x = x + (x++ + x + ++y)

⇒ x = 7 + (7 + 8 + 6)

⇒ x = 7 + 21

⇒ x = 28

Answered by adarshprahapati23nov
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