Write the output : [2]
int x = 10, y = 20;
x = y+ + +
+ +x +
++x +
- -y;
System.out.println (x + “ ” + y);
Answers
Answered by
1
Answer:
First of all, the question itself is a bit confusing....
can you give it a bit more clearly?
I mean there must be semicolon (;) at the end of every statement, but there's only a +.
If there's any doubt in the increment and decrement operators for ya. Please learn it...
Similar questions
English,
2 months ago
Computer Science,
2 months ago
English,
2 months ago
Political Science,
5 months ago
History,
5 months ago
Math,
10 months ago
History,
10 months ago
Math,
10 months ago