Computer Science, asked by zepetoishita, 6 hours ago

int x=8, y=2;

x+=y++ - ++y +--x;

System.out.println(x);

System.out.println(y);

what will be the output of the following snippet??​

Answers

Answered by nagalakshmimuthyala
1

Answer:

8=8

Explanation:

8=2++-++2+--8

8=2-2+8

8=0+8

8=8

Similar questions