j) What will be the output of the following code?
int x=5;
int y=10;
for(int i=1; i<5; i++)
X++;
--Y;
System.out.println("x="+x);
System.out.println("y="+y);
Answers
Answered by
0
Answer:
x = 9
y = 6
Explanation:
this is the correct answer
Similar questions