Predict the output:
int a = 10;
a++;
System.out.println(a);
a – = (a--) – (--a);
System.out.println(a);
Answers
Answered by
2
Explanation:
a = 11
a = a-[(a--) -(--a) ]
a= 11-[11-9]
a=11-2
a=9
Similar questions
Computer Science,
1 month ago
Math,
1 month ago
English,
1 month ago
Math,
2 months ago
English,
2 months ago
Social Sciences,
10 months ago
Biology,
10 months ago