Computer Science, asked by vaanshere, 1 year ago

In Java, find a and b if a=10 and b=a++​

Answers

Answered by DeathViperLP02
1

for first run it will be 10 for 2nd run it will be 11


Anonymous: nope b=10 only .
Anonymous: if ++a than it will 11 .
DeathViperLP02: for second run it will change to 11... first it will be ten only for sure...
Answered by blackpinf4ever
1

b= a++

= 10

Hope it helped!

Similar questions