Computer Science, asked by mahijaiswal167, 6 months ago

{ int a = 5;
a++;
system.out .println (a);
a- = (a--)- (--a);
System.out.println(a);
}​

Answers

Answered by Anonymous
9

Answer:

-4

Explanation:

First a is post incremented and printed as 6 then the next equation becomes a =6- (6) -(4)

therefore a= -4 which will be printed on the next line.

please mark me BRAINLEST

Answered by schoolksps
0

Answer:

firstly print

6

second times it print

4

Similar questions