Computer Science, asked by jkaumbutho, 19 hours ago

int a = 9;

int b = a++;

System.out.println(a);

System.out.println(b);

a = 10;

b = ++a;

System.out.println(a);

System.out.println(b);

Answers

Answered by CruelHearted
0

Answer:

b = a++;. // not b = ++a

Explanation:

the syntax is wrong

Similar questions