6. Predict the output for the following :
a) int x=5,y=4,z;
z=x*y++ + ++x/y;
System.out.println(z);
b) int a=5,b=10;
a=a+ b++ + - - b +b;
What will result a and b after execution?
Answers
Answered by
1
Answer:
a= a+b,b=-a+b is the answer of this question
Explanation:
by solving
Answered by
3
Answer:
6.a. 21
b. a = 37
b = 11
Mate, I realized that we are from the same school.
Similar questions