Social Sciences, asked by 3643, 9 months ago

When x=5 system.out.println(x++*6%4);​

Answers

Answered by neharicagupta2006
0

Answer:

eqtlamb nationsrrGBmlsbbn

Answered by pranavkumbhar6866
2

Explanation:

There is no difference when used alone, the difference is when you use them in an expression.

a++ evaluates a, then increments it (post-incrementation).

++a increments a, then evaluates it (pre-incrementation).

Example:

int a = 1;

int b = a++; //b = 1, a = 2

System.out.println(b); //prints 1

a = 1;

b = ++a; //b = 2, a = 2

System.out.println(b); //prints 2

Similar questions