Question: class Output { public static void main(String args[]) { int x , y; x = 10; x++; --x; y = x++; System.out.println(x +
class Output { public static void main(String args[]) {
int x , y;
x = 10;
x++;
--x;
y = x++;
System.out.println(x + " " + y);
}
}
c) answer11 10
Why the answer is 11 10 not 10 11 the is not by going inorder?
Step by Step Solution
3.37 Rating (150 Votes )
There are 3 Steps involved in it
class Output public static void mainString args int x y declare 2 integer variables x and y x 10 se... View full answer
Get step-by-step solutions from verified subject matter experts
